Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 35c5845 ("net: Add helpers for 64-bit aligning netlink attributes.") Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information