Bug 8450
Summary: | ip6sic causes bug during interrupt handling | ||
---|---|---|---|
Product: | Networking | Reporter: | Eric Sesterhenn (snakebyte) |
Component: | IPV6 | Assignee: | Hideaki YOSHIFUJI (yoshfuji) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | protasnb |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.21-ga989705c and earlier | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | fixes the bug for me |
Description
Eric Sesterhenn
2007-05-08 02:47:42 UTC
Created attachment 11433 [details]
fixes the bug for me
in exthdrs.c:ipv6_hop_jumbo() we have several places where we call:
IP6_INC_STATS_BH(ip6_dst_idev(skb->dst), IPSTATS_MIB_INHDRERRORS);
the problem is that skb->dst is NULL and we dereference it in ip6_dst_idev(),
the attached patch makes ip6_dst_idev() handle a NULL argument and return NULL,
which IP6_INC_STATS_BH() has no problem with
the patch I sent to netdev did not fix this issue, actually... Any updates on this problem? Thanks. Commit e76b2b2567b83448c2ee85a896433b96150c92e6 addresses the bug, can be closed. (Sorry, it was a question :) I am not sure if it is my duty to close it, but since this fixes the bug for me, I'll just do it. thanks |