This is from Jason Wessel and will allow kgdboe for example to determine the MAC of the GDB host. This has been queued up by the Netpoll maintainer. include/linux/netpoll.h | 2 +- net/core/netpoll.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) Index: linux-2.6.19-rc4/include/linux/netpoll.h =================================================================== --- linux-2.6.19-rc4.orig/include/linux/netpoll.h 2006-11-01 21:36:29.000000000 +0000 +++ linux-2.6.19-rc4/include/linux/netpoll.h 2006-11-01 22:21:09.000000000 +0000 @@ -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.19-rc4/net/core/netpoll.c =================================================================== --- linux-2.6.19-rc4.orig/net/core/netpoll.c 2006-11-01 21:38:07.000000000 +0000 +++ linux-2.6.19-rc4/net/core/netpoll.c 2006-11-01 22:21:09.000000000 +0000 @@ -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;