Skip to content
Commit e6f268ef authored by David S. Miller's avatar David S. Miller
Browse files

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: 35c58459

 ("net: Add helpers for 64-bit aligning netlink attributes.")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cca1d815
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment