summaryrefslogtreecommitdiffstats
path: root/include/net/regulatory.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-04-20 21:32:54 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-20 21:32:54 +0200
commite6f268ef3687862b0e9f01f7b3706b54f75b82ab (patch)
tree6884a1cc212054143742fd2efbd16a86bac9ff92 /include/net/regulatory.h
parentnet: fix HAVE_EFFICIENT_UNALIGNED_ACCESS typos (diff)
downloadlinux-e6f268ef3687862b0e9f01f7b3706b54f75b82ab.tar.xz
linux-e6f268ef3687862b0e9f01f7b3706b54f75b82ab.zip
net: nla_align_64bit() needs to test the right pointer.
Netlink messages are appended, one object at a time, to the end of the SKB. Therefore we need to test skb_tail_pointer() not skb->data for alignment. Fixes: 35c5845957c7 ("net: Add helpers for 64-bit aligning netlink attributes.") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/regulatory.h')
0 files changed, 0 insertions, 0 deletions