bridge: initialize fake_rtable metrics
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 24 May 2011 17:32:18 +0000 (13:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 May 2011 17:32:18 +0000 (13:32 -0400)
commit33eb9873a283a2076f2b5628813d5365ca420ea9
treeae07eb66338204a0995d8cacc32f8242674e5104
parentb30c516f875004f025f4d10147bde28c5e98466b
bridge: initialize fake_rtable metrics

bridge netfilter code uses a fake_rtable, and we must init its _metric
field or risk NULL dereference later.

Ref: https://bugzilla.kernel.org/show_bug.cgi?id=35672

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c