aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/netlink.h')
-rw-r--r--include/net/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h
index 9298218c07f9..db4b935b6c7e 100644
--- a/include/net/netlink.h
+++ b/include/net/netlink.h
@@ -862,7 +862,7 @@ static inline int nla_put_msecs(struct sk_buff *skb, int attrtype,
862 862
863#define NLA_PUT(skb, attrtype, attrlen, data) \ 863#define NLA_PUT(skb, attrtype, attrlen, data) \
864 do { \ 864 do { \
865 if (nla_put(skb, attrtype, attrlen, data) < 0) \ 865 if (unlikely(nla_put(skb, attrtype, attrlen, data) < 0)) \
866 goto nla_put_failure; \ 866 goto nla_put_failure; \
867 } while(0) 867 } while(0)
868 868