From: Kevin Hao Date: Thu, 25 Sep 2008 16:20:11 +0000 (+0000) Subject: net: remove LLTX in atl2 driver X-Git-Tag: v2.6.28-rc1~717^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87241840b214734c023bda83372059de3f7eeabd;p=pandora-kernel.git net: remove LLTX in atl2 driver When NETIF_F_LLTX is set, the atlx driver will use a private lock. But in recent kernels this implementation seems redundant and can cause problems where AF_PACKET sees things twice. Since NETIF_F_LLTX is marked as deprecated and shouldn't be used in new driver, this patch removes NETIF_F_LLTX and adds a mmiowb before sending packet. I have tested this driver on a Eee PC. It works well. Signed-off-by: Kevin Hao Acked-by: Jay Cliburn Signed-off-by: David S. Miller --- Reading git-diff-tree failed