mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
In natm_usr_abort(), replace existing call to natm_usr_shutdown() with
natm_usr_detach(), which actually does the right thing. This code has never worked properly, but also was never invoked since we only abort connections associated with listen sockets, and netnam doesn't support listen sockets. MFC after: 3 months
This commit is contained in:
parent
0c0d854c4d
commit
b0f4fba749
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157611
@ -335,7 +335,7 @@ natm_usr_control(struct socket *so, u_long cmd, caddr_t arg,
|
||||
static void
|
||||
natm_usr_abort(struct socket *so)
|
||||
{
|
||||
natm_usr_shutdown(so);
|
||||
natm_usr_detach(so);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user