When blackholing do a 'dropunlock' in the new world order to prevent the
INP_INFO_LOCK from leaking. Reported by: ache Found by: rwatson
This commit is contained in:
parent
a090f21663
commit
1929eae1cc
@ -726,7 +726,7 @@ tcp_input(struct mbuf *m, int off0)
|
||||
*/
|
||||
if ((blackhole == 1 && (thflags & TH_SYN)) ||
|
||||
blackhole == 2)
|
||||
goto drop;
|
||||
goto dropunlock;
|
||||
|
||||
rstreason = BANDLIM_RST_CLOSEDPORT;
|
||||
goto dropwithreset;
|
||||
|
@ -726,7 +726,7 @@ tcp_input(struct mbuf *m, int off0)
|
||||
*/
|
||||
if ((blackhole == 1 && (thflags & TH_SYN)) ||
|
||||
blackhole == 2)
|
||||
goto drop;
|
||||
goto dropunlock;
|
||||
|
||||
rstreason = BANDLIM_RST_CLOSEDPORT;
|
||||
goto dropwithreset;
|
||||
|
Loading…
Reference in New Issue
Block a user