diff options
author | 2011-06-06 14:53:02 +0530 | |
---|---|---|
committer | 2011-06-07 14:44:03 -0400 | |
commit | fb3c19bc9687d972b83faf366b38ac807eca8f25 (patch) | |
tree | 0426abe754c359684ca5d0e567395015934a717a /net/core/ethtool.c | |
parent | mwifiex: Remove redundant skb_queue_empty checks (diff) | |
download | wireguard-linux-fb3c19bc9687d972b83faf366b38ac807eca8f25.tar.xz wireguard-linux-fb3c19bc9687d972b83faf366b38ac807eca8f25.zip |
mwifiex: adding check for enough space before padding
All MSDUs, except the last one in an AMSDU, should end up at 4
bytes boundary. There is need to check if enough skb_tailroom
space exists before padding the skb.
Also re-arranging code for better readablity.
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/core/ethtool.c')
0 files changed, 0 insertions, 0 deletions