aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/flow.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2013-01-22 06:32:44 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-22 14:28:28 -0500
commit8fbcec241df21d1ba2aba09974ea9017832b69b0 (patch)
tree0d15c692359736dcb1af5bba731ae6a501c9d153 /net/core/flow.c
parentneigh: Keep neighbour cache entries if number of them is small enough. (diff)
downloadlinux-dev-8fbcec241df21d1ba2aba09974ea9017832b69b0.tar.xz
linux-dev-8fbcec241df21d1ba2aba09974ea9017832b69b0.zip
net: Use IS_ERR_OR_NULL().
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/flow.c')
-rw-r--r--net/core/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/flow.c b/net/core/flow.c
index b0901ee5a002..43f7495df27a 100644
--- a/net/core/flow.c
+++ b/net/core/flow.c
@@ -286,7 +286,7 @@ nocache:
else
fle->genid--;
} else {
- if (flo && !IS_ERR(flo))
+ if (!IS_ERR_OR_NULL(flo))
flo->ops->delete(flo);
}
ret_object: