Signed-off-by: Andrew Morton Index: linux-2.6.18-rc6/include/linux/netpoll.h =================================================================== --- linux-2.6.18-rc6.orig/include/linux/netpoll.h 2006-09-14 15:46:38.000000000 +0100 +++ linux-2.6.18-rc6/include/linux/netpoll.h 2006-09-14 15:46:52.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.18-rc6/net/core/netpoll.c =================================================================== --- linux-2.6.18-rc6.orig/net/core/netpoll.c 2006-09-14 15:46:38.000000000 +0100 +++ linux-2.6.18-rc6/net/core/netpoll.c 2006-09-14 15:46:52.000000000 +0100 @@ -519,7 +519,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;