aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2013-01-22 01:32:49 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-22 14:28:28 -0500
commit50c3a487d507568359ccbce1b15bcdfc01edf7ef (patch)
tree78d3978bde268dabbdc92c3ce25ccb3fcf95e4b5 /net/ipv4/af_inet.c
parent8fbcec241df21d1ba2aba09974ea9017832b69b0 (diff)
ipv4: 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/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index 4fdf96710d45..4b7053919976 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1333,7 +1333,7 @@ static struct sk_buff *inet_gso_segment(struct sk_buff *skb,
1333 segs = ops->callbacks.gso_segment(skb, features); 1333 segs = ops->callbacks.gso_segment(skb, features);
1334 rcu_read_unlock(); 1334 rcu_read_unlock();
1335 1335
1336 if (!segs || IS_ERR(segs)) 1336 if (IS_ERR_OR_NULL(segs))
1337 goto out; 1337 goto out;
1338 1338
1339 skb = segs; 1339 skb = segs;