bridge: reset IPCB in br_parse_ip_options
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 12 Apr 2011 20:39:14 +0000 (13:39 -0700)
committerBrad Figg <brad.figg@canonical.com>
Wed, 27 Apr 2011 18:42:35 +0000 (11:42 -0700)
commit1e37bc6a1325237bc8c5e15de75eefda4846a1e6
treef1088def80a5b1b950850262229328c66322581b
parentade54059e5e13c0a85067ea498e4f33f7d1c470e
bridge: reset IPCB in br_parse_ip_options

BugLink: http://bugs.launchpad.net/bugs/769042

commit f8e9881c2aef1e982e5abc25c046820cd0b7cf64 upstream.

Commit 462fb2af9788a82 (bridge : Sanitize skb before it enters the IP
stack), missed one IPCB init before calling ip_options_compile()

Thanks to Scot Doyle for his tests and bug reports.

Reported-by: Scot Doyle <lkml@scotdoyle.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Acked-by: Bandan Das <bandan.das@stratus.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jan Lübbe <jluebbe@debian.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
net/bridge/br_netfilter.c