[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)
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>

No differences found