version 1.105.2.1, 2008/05/18 12:35:29 |
version 1.106, 2008/04/23 06:09:04 |
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 550 rip_usrreq(struct socket *so, int req, |
|
Line 548 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; |