From: Seth Forshee Date: Mon, 14 Feb 2011 14:52:25 +0000 (-0600) Subject: rt2x00: Check for errors from skb_pad() calls X-Git-Tag: v2.6.39-rc1~468^2~238^2^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76dfc612b40b6a9de0a3fe57fe1fa3db7a1ae3b;p=pandora-kernel.git 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 Acked-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed