Re: [PATCH net-next 2/4] net: bridge: rearrange flood vs unicast receive paths

2016-07-15 Thread Nikolay Aleksandrov
> On Jul 15, 2016, at 10:35 AM, Cong Wang wrote: > > On Wed, Jul 13, 2016 at 8:10 PM, Nikolay Aleksandrov > wrote: >> 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 Aleks

Re: [PATCH net-next 2/4] net: bridge: rearrange flood vs unicast receive paths

2016-07-15 Thread Cong Wang
On Wed, Jul 13, 2016 at 8:10 PM, Nikolay Aleksandrov wrote: > 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 > --- > net/bridge/br_input.c | 29 ++-

[PATCH net-next 2/4] net: bridge: rearrange flood vs unicast receive paths

2016-07-14 Thread Nikolay Aleksandrov
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 --- net/bridge/br_input.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --gi