ipv4: frags: precedence bug in ip_expire()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 Oct 2018 19:30:17 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 07:13:26 +0000 (09:13 +0200)
commit5a0f340f5ad6a6cc6518f212802f95b669e8fe27
tree0006239f0de46a43b9533bce6693b0923bd14df4
parent85e59af99a7f7c9bcd089f2404b405df7ee665ba
ipv4: frags: precedence bug in ip_expire()

(commit 70837ffe3085c9a91488b52ca13ac84424da1042 upstream)

We accidentally removed the parentheses here, but they are required
because '!' has higher precedence than '&'.

Fixes: fa0f527358bd ("ip: use rb trees for IP frag queue.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/ip_fragment.c