diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2009-09-08 19:59:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-11 15:55:04 -0400 |
commit | 998ec759ef2fc9c60319815c72b2b699ab939733 (patch) | |
tree | 7e6fe0dccd9578e24c47e82cc8a497a681c58752 /net/phonet | |
parent | cc411d0bae9c19ec85a150aeab4b08335f5751d1 (diff) |
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>
Diffstat (limited to 'net/phonet')
-rw-r--r-- | net/phonet/pn_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
147 | 147 | ||
148 | if (fill_addr(skb, pnd->netdev, addr << 2, | 148 | if (fill_addr(skb, pnd->netdev, addr << 2, |
149 | NETLINK_CB(cb->skb).pid, | 149 | NETLINK_CB(cb->skb).pid, |
150 | cb->nlh->nlmsg_seq, RTM_NEWADDR)) | 150 | cb->nlh->nlmsg_seq, RTM_NEWADDR) < 0) |
151 | goto out; | 151 | goto out; |
152 | } | 152 | } |
153 | } | 153 | } |