commit | b35c5f632b630183396a2ea2e2247ff8bbf2c94f | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Thu Jul 14 06:10:01 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 16 19:57:38 2016 -0700 |
tree | d3f99f73c088ec6360fdfa2331d9ba25d1127efa | |
parent | e151aab9b5b3fae96b0fcd6cbe3a7f952d6cb8f8 [diff] |
net: bridge: drop skb2/skb0 variables and use a local_rcv boolean Currently if the packet is going to be received locally we set skb0 or sometimes called skb2 variables to the original skb. This can get confusing and also we can avoid one conditional on the fast path by simply using a boolean and passing it around. Thanks to Roopa for the name suggestion. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>