X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=linux-2.6-525-sknid-elevator.patch;h=e2208a60822d4b7aae8ac6e87565ae142ffbf58b;hb=5a065d94119c9ad50cbc3c43c17c81505125fd78;hp=e600ccabfb7d901bd80bf76076cb2956011f22e1;hpb=029fbb9b5559b7a1050a495d478eee2c6dfee9f0;p=linux-2.6.git diff --git a/linux-2.6-525-sknid-elevator.patch b/linux-2.6-525-sknid-elevator.patch index e600ccabf..e2208a608 100644 --- a/linux-2.6-525-sknid-elevator.patch +++ b/linux-2.6-525-sknid-elevator.patch @@ -1,6 +1,17 @@ +diff -Nurb linux-2.6.22-524/include/linux/netdevice.h linux-2.6.22-525/include/linux/netdevice.h +--- linux-2.6.22-524/include/linux/netdevice.h 2008-07-27 22:06:14.000000000 -0400 ++++ linux-2.6.22-525/include/linux/netdevice.h 2008-07-27 22:17:30.000000000 -0400 +@@ -562,6 +562,7 @@ + struct packet_type { + __be16 type; /* This is really htons(ether_type). */ + struct net_device *dev; /* NULL is wildcarded here */ ++ unsigned char sknid_elevator; + int (*func) (struct sk_buff *, + struct net_device *, + struct packet_type *, diff -Nurb linux-2.6.22-524/net/core/dev.c linux-2.6.22-525/net/core/dev.c ---- linux-2.6.22-524/net/core/dev.c 2008-07-21 16:44:33.000000000 -0400 -+++ linux-2.6.22-525/net/core/dev.c 2008-07-27 22:02:10.000000000 -0400 +--- linux-2.6.22-524/net/core/dev.c 2008-07-27 22:06:20.000000000 -0400 ++++ linux-2.6.22-525/net/core/dev.c 2008-07-27 22:06:27.000000000 -0400 @@ -97,6 +97,8 @@ #include #include @@ -138,7 +149,7 @@ diff -Nurb linux-2.6.22-524/net/core/dev.c linux-2.6.22-525/net/core/dev.c EXPORT_SYMBOL(br_handle_frame_hook); diff -Nurb linux-2.6.22-524/net/packet/af_packet.c linux-2.6.22-525/net/packet/af_packet.c --- linux-2.6.22-524/net/packet/af_packet.c 2007-07-08 19:32:17.000000000 -0400 -+++ linux-2.6.22-525/net/packet/af_packet.c 2008-07-27 22:02:22.000000000 -0400 ++++ linux-2.6.22-525/net/packet/af_packet.c 2008-07-27 22:06:27.000000000 -0400 @@ -78,6 +78,7 @@ #include #include