All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] ip_output.c: update last_rx after netif_rx
@ 2004-08-14 19:07 Jay Bourque
  0 siblings, 0 replies; only message in thread
From: Jay Bourque @ 2004-08-14 19:07 UTC (permalink / raw)
  To: kernel-janitors

Fix to update last_rx after netif_rx
This is my first patch so I'd appreciate any feedback.

-Jay

--- linux-2.6.8.1/net/ipv4/ip_output.c    Sat Aug 14 05:56:23 2004
+++ linux-2.6.8.1/net/ipv4/ip_output.c.new    Sat Aug 14 10:59:58 2004
@@ -110,6 +110,7 @@ static int ip_dev_loopback_xmit(struct s
 #ifdef CONFIG_NETFILTER_DEBUG
     nf_debug_ip_loopback_xmit(newskb);
 #endif
+   newskb->dev->last_rx = jiffies;
     netif_rx(newskb);
     return 0;
 }
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-14 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-14 19:07 [Kernel-janitors] ip_output.c: update last_rx after netif_rx Jay Bourque

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.