[patch] openvswitch: using a bit shift as a mask

2016-03-19 Thread Dan Carpenter
The original condition is never true. We want to test if BIT(0) is set but the code is ANDing with zero. Fixes: 05752523e565 ('openvswitch: Interface with NAT.') Signed-off-by: Dan Carpenter diff --git a/net/openvswitch/conntrack.c b/net/openvswitch/conntrack.c index dc5eb29..29c82d6 100644 ---

Re: [patch] openvswitch: using a bit shift as a mask

2016-03-18 Thread Jarno Rajahalme
> On Mar 17, 2016, at 3:41 AM, Dan Carpenter wrote: > > The original condition is never true. We want to test if BIT(0) is set > but the code is ANDing with zero. > > Fixes: 05752523e565 ('openvswitch: Interface with NAT.') > Signed-off-by: Dan Carpenter > > diff --git a/net/openvswitch/conn