aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index a34d1504deb9..b7a5f51238b3 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -3090,8 +3090,7 @@ static int inet6_fill_ifinfo(struct sk_buff *skb, struct inet6_dev *idev,
3090 3090
3091nlmsg_failure: 3091nlmsg_failure:
3092rtattr_failure: 3092rtattr_failure:
3093 if (array) 3093 kfree(array);
3094 kfree(array);
3095 skb_trim(skb, b - skb->data); 3094 skb_trim(skb, b - skb->data);
3096 return -1; 3095 return -1;
3097} 3096}