diff options
author | Seth Forshee | 2011-02-14 15:52:25 +0100 |
---|---|---|
committer | John W. Linville | 2011-02-14 21:50:17 +0100 |
commit | d76dfc612b40b6a9de0a3fe57fe1fa3db7a1ae3b (patch) | |
tree | 169aca14bd1a3514452aeac5170214280937a6eb /net/ipv4/fib_rules.c | |
parent | rtlwifi: rtl8192ce: Rework rtl8192ce/phy.c (diff) | |
download | kernel-qcow2-linux-d76dfc612b40b6a9de0a3fe57fe1fa3db7a1ae3b.tar.gz kernel-qcow2-linux-d76dfc612b40b6a9de0a3fe57fe1fa3db7a1ae3b.tar.xz kernel-qcow2-linux-d76dfc612b40b6a9de0a3fe57fe1fa3db7a1ae3b.zip |
rt2x00: Check for errors from skb_pad() calls
Commit 739fd94 ("rt2x00: Pad beacon to multiple of 32 bits")
added calls to skb_pad() without checking the return value,
which could cause problems if any of those calls does happen
to fail. Add checks to prevent this from happening.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ipv4/fib_rules.c')
0 files changed, 0 insertions, 0 deletions