aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netlink.h')
-rw-r--r--include/linux/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index a9d3ad5bc80f..68a632b372ec 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -229,7 +229,7 @@ __nlmsg_put(struct sk_buff *skb, u32 pid, u32 seq, int type, int len, int flags)
229 (cb)->nlh->nlmsg_seq, type, len, flags) 229 (cb)->nlh->nlmsg_seq, type, len, flags)
230 230
231#define NLMSG_END(skb, nlh) \ 231#define NLMSG_END(skb, nlh) \
232({ (nlh)->nlmsg_len = (skb)->tail - (unsigned char *) (nlh); \ 232({ (nlh)->nlmsg_len = skb_tail_pointer(skb) - (unsigned char *)(nlh); \
233 (skb)->len; }) 233 (skb)->len; })
234 234
235#define NLMSG_CANCEL(skb, nlh) \ 235#define NLMSG_CANCEL(skb, nlh) \