mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
Phonet: fix netlink address dump error handling
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cc411d0bae
commit
998ec759ef
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ static int getaddr_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
|
|||
|
||||
if (fill_addr(skb, pnd->netdev, addr << 2,
|
||||
NETLINK_CB(cb->skb).pid,
|
||||
cb->nlh->nlmsg_seq, RTM_NEWADDR))
|
||||
cb->nlh->nlmsg_seq, RTM_NEWADDR) < 0)
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue