]> err.no Git - linux-2.6/blobdiff - net/core/neighbour.c
[ARM] 5117/1: pxafb: fix __devinit/exit annotations
[linux-2.6] / net / core / neighbour.c
index 3896de79dfbf0dcb0214425829068b693740bc21..65f01f71b3f34ceb0498cf5149a220fd4f178ad1 100644 (file)
@@ -1714,7 +1714,8 @@ static int neightbl_fill_parms(struct sk_buff *skb, struct neigh_parms *parms)
        return nla_nest_end(skb, nest);
 
 nla_put_failure:
-       return nla_nest_cancel(skb, nest);
+       nla_nest_cancel(skb, nest);
+       return -EMSGSIZE;
 }
 
 static int neightbl_fill_info(struct sk_buff *skb, struct neigh_table *tbl,