| version 1.106, 2008/04/23 06:09:04 |
version 1.107, 2008/04/24 11:38:38 |
| Line 528 rip_usrreq(struct socket *so, int req, |
|
| Line 528 rip_usrreq(struct socket *so, int req, |
|
| s = splsoftnet(); |
s = splsoftnet(); |
| |
|
| if (req == PRU_PURGEIF) { |
if (req == PRU_PURGEIF) { |
| |
mutex_enter(softnet_lock); |
| in_pcbpurgeif0(&rawcbtable, (struct ifnet *)control); |
in_pcbpurgeif0(&rawcbtable, (struct ifnet *)control); |
| in_purgeif((struct ifnet *)control); |
in_purgeif((struct ifnet *)control); |
| in_pcbpurgeif(&rawcbtable, (struct ifnet *)control); |
in_pcbpurgeif(&rawcbtable, (struct ifnet *)control); |
| |
mutex_exit(softnet_lock); |
| splx(s); |
splx(s); |
| return (0); |
return (0); |
| } |
} |
| Line 548 rip_usrreq(struct socket *so, int req, |
|
| Line 550 rip_usrreq(struct socket *so, int req, |
|
| switch (req) { |
switch (req) { |
| |
|
| case PRU_ATTACH: |
case PRU_ATTACH: |
| |
sosetlock(so); |
| if (inp != 0) { |
if (inp != 0) { |
| error = EISCONN; |
error = EISCONN; |
| break; |
break; |