[PATCH] sky2: remove cloned/pskb_expand_head check
authorshemminger@osdl.org <shemminger@osdl.org>
Mon, 28 Aug 2006 17:00:45 +0000 (10:00 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 29 Aug 2006 21:18:29 +0000 (17:18 -0400)
commitfba5008cda606488cf42b60de60b4414cc2276ad
tree0cf28b14ceac3281a97972e9b048e747fec7f5e9
parent699a71238856b19091503c671bac8abb1e3f9a3a
[PATCH] sky2: remove cloned/pskb_expand_head check

The code to handle cloned skb overwriting is unnecessary in the
sky2 driver and is buggy. The bug is that pskb_expand_head can change the
skb but the driver has already mapped in the header.

Since the sky2 hardware doesn't need to overwrite memory, the buggy
code can just be removed; it was mistakenly copied from the tg3
driver.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c