diff options
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r-- | net/ipv4/devinet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 04ba321ae5ce..e258a00b4a3d 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c | |||
@@ -1826,7 +1826,7 @@ put_tgt_net: | |||
1826 | if (fillargs.netnsid >= 0) | 1826 | if (fillargs.netnsid >= 0) |
1827 | put_net(tgt_net); | 1827 | put_net(tgt_net); |
1828 | 1828 | ||
1829 | return err < 0 ? err : skb->len; | 1829 | return skb->len ? : err; |
1830 | } | 1830 | } |
1831 | 1831 | ||
1832 | static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, | 1832 | static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, |