Correcting the rx_hook (struct netpoll) method as defined in include/linux/netpoll.h
Signed-off-by: Tushar Dave <[email protected]> --- drivers/net/kgdboe.c | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/drivers/net/kgdboe.c b/drivers/net/kgdboe.c index a82ed15..2efa3a6 100644 --- a/drivers/net/kgdboe.c +++ b/drivers/net/kgdboe.c @@ -50,20 +50,12 @@ static struct kparam_string kps = { .maxlen = MAX_CONFIG_LEN, }; -static void rx_hook(struct netpoll *np, int port, char *msg, int len, - struct sk_buff *skb) +static void rx_hook(struct netpoll *np, int port, char *msg, int len) { int i; np->remote_port = port; - /* Copy the MAC address if we need to. */ - if (use_dynamic_mac) { - memcpy(np->remote_mac, eth_hdr(skb)->h_source, - sizeof(np->remote_mac)); - use_dynamic_mac = 0; - } - /* * This could be GDB trying to attach. But it could also be GDB * finishing up a session, with kgdb_connected=0 but GDB sending ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
