mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Assert the inpcb lock before letting MAC check whether we can deliver
to the inpcb in tcp_input().
This commit is contained in:
parent
1b83216eda
commit
1f82efb3b7
2 changed files with 2 additions and 0 deletions
|
|
@ -750,6 +750,7 @@ findpcb:
|
|||
tiwin = th->th_win;
|
||||
|
||||
#ifdef MAC
|
||||
INP_LOCK_ASSERT(inp);
|
||||
if (mac_check_inpcb_deliver(inp, m))
|
||||
goto drop;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -750,6 +750,7 @@ findpcb:
|
|||
tiwin = th->th_win;
|
||||
|
||||
#ifdef MAC
|
||||
INP_LOCK_ASSERT(inp);
|
||||
if (mac_check_inpcb_deliver(inp, m))
|
||||
goto drop;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue