From: Rémi Denis-Courmont Date: Tue, 8 Sep 2009 23:59:51 +0000 (+0000) Subject: Phonet: fix netlink address dump error handling X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=998ec759ef2fc9c60319815c72b2b699ab939733;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git Phonet: fix netlink address dump error handling Signed-off-by: Rémi Denis-Courmont Signed-off-by: David S. Miller --- diff --git a/net/phonet/pn_netlink.c b/net/phonet/pn_netlink.c index f8b4cee434c2..d21fd3576610 100644 --- a/net/phonet/pn_netlink.c +++ b/net/phonet/pn_netlink.c @@ -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; } }