igb: Correctly get protocol information
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 7 Mar 2008 18:32:13 +0000 (10:32 -0800)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 12:11:44 +0000 (08:11 -0400)
commit44b0cda37534093fd9fefacd64d5fbb589c50795
tree77003ead44f84c195927dc2c2ce1aec42e040d4f
parent725e49c5daab0b011b80907ec21fa68f3ab78633
igb: Correctly get protocol information

We can't look at the socket to get protocol information. We should
instead look directly at the packet, and hope there are no IPv6
option headers.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/igb/igb_main.c