Skip to contentSkip to conversation

ip_output.c: update last_rx after netif_rx

Kernel-janitors Jay Bourque 1 participant 1 message Aug 14, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

-Jay

net/ipv4/ip_output.c.new Sat Aug 14 10:59:58 2004 renamed from net/ipv4/ip_output.c Sat Aug 14 05:56:23 2004 +1 -0
@@ -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
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors