aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_forward.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2016-07-14 06:10:00 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-16 19:57:37 -0700
commite151aab9b5b3fae96b0fcd6cbe3a7f952d6cb8f8 (patch)
tree189d7456665506f4840a059f9a6be0b5ef04c34a /net/bridge/br_forward.c
parentnet: bridge: minor style adjustments in br_handle_frame_finish (diff)
downloadlinux-dev-e151aab9b5b3fae96b0fcd6cbe3a7f952d6cb8f8.tar.xz
linux-dev-e151aab9b5b3fae96b0fcd6cbe3a7f952d6cb8f8.zip
net: bridge: rearrange flood vs unicast receive paths
This patch removes one conditional from the unicast path by using the fact that skb is NULL only when the packet is multicast or is local. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_forward.c')
0 files changed, 0 insertions, 0 deletions