Signed-off-by: Andrew Morton --- include/linux/netpoll.h | 2 +- net/core/netpoll.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff -puN include/linux/netpoll.h~kgdb-netpoll_pass_skb_to_rx_hook include/linux/netpoll.h --- devel/include/linux/netpoll.h~kgdb-netpoll_pass_skb_to_rx_hook 2006-04-05 21:45:18.000000000 -0700 +++ devel-akpm/include/linux/netpoll.h 2006-04-05 21:45:18.000000000 -0700 @@ -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; diff -puN net/core/netpoll.c~kgdb-netpoll_pass_skb_to_rx_hook net/core/netpoll.c --- devel/net/core/netpoll.c~kgdb-netpoll_pass_skb_to_rx_hook 2006-04-05 21:45:18.000000000 -0700 +++ devel-akpm/net/core/netpoll.c 2006-04-05 21:45:18.000000000 -0700 @@ -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; _