aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-07-05 21:29:28 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-26 17:21:19 -0700
commitaa018b2a1b0bfb81517380aa651cf8271e4c7451 (patch)
tree3973cec86294c38673bb7561167f80275a41195f /net/unix/sysctl_net_unix.c
parentf535c2e115f90cf18408d91f11f7c5585bc38ef0 (diff)
bridge: Clear IPCB before possible entry into IP stack
[ Upstream commit 17762060c25590bfddd68cc1131f28ec720f405f ] The bridge protocol lives dangerously by having incestuous relations with the IP stack. In this instance an abomination has been created where a bogus IPCB area from a bridged packet leads to a crash in the IP stack because it's interpreted as IP options. This patch papers over the problem by clearing the IPCB area in that particular spot. To fix this properly we'd also need to parse any IP options if present but I'm way too lazy for that. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions