Skip to content
Commit 1fb1754a authored by Hong Zhiguo's avatar Hong Zhiguo Committed by David S. Miller
Browse files

bridge: use br_port_get_rtnl within rtnl lock



current br_port_get_rcu is problematic in bridging path
(NULL deref). Change these calls in netlink path first.

Signed-off-by: default avatarHong Zhiguo <zhiguohong@tencent.com>
Acked-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3274f687
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment