| version 1.110, 2009/09/16 15:23:05 |
version 1.111, 2009/12/09 00:45:25 |
| Line 534 rip_usrreq(struct socket *so, int req, |
|
| Line 534 rip_usrreq(struct socket *so, int req, |
|
| #endif |
#endif |
| |
|
| if (req == PRU_CONTROL) |
if (req == PRU_CONTROL) |
| return (in_control(so, (long)m, (void *)nam, |
return in_control(so, (long)m, nam, (struct ifnet *)control, l); |
| (struct ifnet *)control, l)); |
|
| |
|
| s = splsoftnet(); |
s = splsoftnet(); |
| |
|
| Line 554 rip_usrreq(struct socket *so, int req, |
|
| Line 553 rip_usrreq(struct socket *so, int req, |
|
| if (req != PRU_SEND && req != PRU_SENDOOB && control) |
if (req != PRU_SEND && req != PRU_SENDOOB && control) |
| panic("rip_usrreq: unexpected control mbuf"); |
panic("rip_usrreq: unexpected control mbuf"); |
| #endif |
#endif |
| if (inp == 0 && req != PRU_ATTACH) { |
if (inp == NULL && req != PRU_ATTACH) { |
| error = EINVAL; |
error = EINVAL; |
| goto release; |
goto release; |
| } |
} |