summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-23 14:57:14 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-23 14:57:14 -0700
commitab3fc403633c38aef5ef48844f8e5dbfee7c34f8 (patch)
tree475459da3d3cc0071c71900cfbcdc389d3d71597 /include/linux/netdevice.h
parentf10d20c1f192aa90fc935207f22da32462e793ee (diff)
parentd1faeaeb95a05275cf0c5b51b88f2fa833434625 (diff)
downloadkernel-crypto-ab3fc403633c38aef5ef48844f8e5dbfee7c34f8.tar.gz
kernel-crypto-ab3fc403633c38aef5ef48844f8e5dbfee7c34f8.tar.xz
kernel-crypto-ab3fc403633c38aef5ef48844f8e5dbfee7c34f8.zip
Merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git/
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index ac11d73be4c..b25bd02720d 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -503,7 +503,7 @@ static inline void *netdev_priv(struct net_device *dev)
#define SET_NETDEV_DEV(net, pdev) ((net)->class_dev.dev = (pdev))
struct packet_type {
- unsigned short type; /* This is really htons(ether_type). */
+ __be16 type; /* This is really htons(ether_type). */
struct net_device *dev; /* NULL is wildcarded here */
int (*func) (struct sk_buff *, struct net_device *,
struct packet_type *);