cvs commit: src/sys/netinet ip_demux.c

看板DFBSD_commit作者時間21年前 (2005/03/23 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
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
文章代碼(AID): #12GHk000 (DFBSD_commit)
文章代碼(AID): #12GHk000 (DFBSD_commit)