看板 DFBSD_commit 關於我們 聯絡資訊
dillon 2005/03/22 23:27:56 PST DragonFly src repository Modified files: sys/netinet ip_demux.c Log: Correct the th_off check against ip_len. The check in ip_demux occurs before ip_len is adjusted so we have to add iphlen into the equation. We forgot to do this when the code was originally moved from tcp_input to ip_demux (in tcp_input the check occurs after ip_len is adjusted). This fixes a panic assertion in tcp_input when a mangled packet is received. Reported-by: Joe Talbott <josepht@cstone.net> Revision Changes Path 1.32 +1 -1 src/sys/netinet/ip_demux.c http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_demux.c.diff?r1=1.31&r2=1.32&f=u