Signed-off-by: Andrew Morton Index: linux-2.6.17-rc4/include/linux/netpoll.h =================================================================== --- linux-2.6.17-rc4.orig/include/linux/netpoll.h 2006-06-09 17:16:11.000000000 +0100 +++ linux-2.6.17-rc4/include/linux/netpoll.h 2006-06-09 17:16:57.000000000 +0100 @@ -17,7 +17,7 @@ struct netpoll; struct netpoll { struct net_device *dev; char dev_name[16], *name; - void (*rx_hook)(struct netpoll *, int, char *, int); + void (*rx_hook)(struct netpoll *, int, char *, int, struct sk_buff *); void (*drop)(struct sk_buff *skb); u32 local_ip, remote_ip; u16 local_port, remote_port; Index: linux-2.6.17-rc4/net/core/netpoll.c =================================================================== --- linux-2.6.17-rc4.orig/net/core/netpoll.c 2006-06-09 17:16:11.000000000 +0100 +++ linux-2.6.17-rc4/net/core/netpoll.c 2006-06-09 17:16:57.000000000 +0100 @@ -505,7 +505,8 @@ int __netpoll_rx(struct sk_buff *skb) np->rx_hook(np, ntohs(uh->source), (char *)(uh+1), - ulen - sizeof(struct udphdr)); + ulen - sizeof(struct udphdr), + skb); kfree_skb(skb); return 1;