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:
Andre Oppermann 2007-03-28 12:58:13 +00:00
parent a090f21663
commit 1929eae1cc
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;