]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: Avoid modifying skbs that are resubmitted
authorMike McCormack <mikem@ring3k.org>
Mon, 6 Jun 2011 23:58:31 +0000 (08:58 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Jun 2011 18:19:07 +0000 (14:19 -0400)
commitadfd57173d7cf00a1dccd1d944b747b18fed8007
tree2312cd48f3f4b8871190df945af1c3c2c9c4be39
parent67bb753c0543065b0cd8f8cf2c72570451e1c315
rtlwifi: Avoid modifying skbs that are resubmitted

In the case we fail to allocate a new skb, the old skb should
be resubmitted unmodified.

Fixes bug introduced in bd7647cac8a66e136dae.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c