mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
Correct assertion in ng_detach().
Submitted by: tegge MFC after: 3 months
This commit is contained in:
parent
5ef7d50da5
commit
c0a1b804a7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157558
@ -398,7 +398,7 @@ ngd_detach(struct socket *so)
|
||||
{
|
||||
struct ngpcb *const pcbp = sotongpcb(so);
|
||||
|
||||
KASSERT(pcbp == NULL, ("ngd_detach: pcbp == NULL"));
|
||||
KASSERT(pcbp != NULL, ("ngd_detach: pcbp == NULL"));
|
||||
ng_detach_common(pcbp, NG_DATA);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user