kern/134557: [netgraph] [hang] 7.2 with mpd5.3 hanging up - ng_pptp problem

Mikolaj Golub to.my.trociny at gmail.com
Tue Jun 30 19:33:20 UTC 2009


Unfortunately, the problem was introduced by this commit :-)

----------

Author: 	mav
Date: 	Sat Jan 31 12:48:09 2009 UTC (4 months, 4 weeks ago)
Log Message: 	

MFC rev. 187495

Check for infinite recursion possible on some broken PPTP/L2TP/... VPN setups.
Mark packets with mbuf_tag on first interface passage and drop on second.

PR:		ports/129625, ports/125303

----------

If a packet goes through two or more ng interfaces, "while" loop in the tag
checking code can run infinitely. The attached patch should fix this.

-- 
Mikolaj Golub

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ng_iface.c.patch
Type: text/x-diff
Size: 481 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20090630/fba6e1ca/ng_iface.c.bin


More information about the freebsd-net mailing list