diff options
-rw-r--r-- | sys/netinet/raw_ip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index 1c861f4..8e02e41 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -604,6 +604,8 @@ rip_abort(struct socket *so) soisdisconnected(so); if (so->so_state & SS_NOFDREF) rip_pcbdetach(so, inp); + else + INP_UNLOCK(inp); INP_INFO_WUNLOCK(&ripcbinfo); return 0; } |