]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: avoid OOPS if root port not found
authorstephen hemminger <stephen@networkplumber.org>
Tue, 30 Apr 2013 05:29:27 +0000 (05:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Apr 2013 19:51:08 +0000 (15:51 -0400)
commit4f0b0986d20e42d9789d4f927f51e8ce66cae62c
tree65a63f722f79435b3eb25deb62819ec3f903a354
parent84924c5630ad6df0c6eb914b83c6805ed00918c1
bridge: avoid OOPS if root port not found

Bridge can crash while trying to send topology change packet.
This happens if root port can't be found. This was reported by user
but currently unable to reproduce it easily. The STP conditions that cause
this are not known yet, but the problem doesn't have to be fatal.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp.c