* [Kernel-janitors] ipip.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/ipip.c Sat Aug 14 05:56:24 2004
+++ linux-2.6.8.1/net/ipv4/ipip.c.new Sat Aug 14 11:01:01 2004
@@ -500,6 +500,7 @@ static int ipip_rcv(struct sk_buff *skb)
nf_reset(skb);
ipip_ecn_decapsulate(iph, skb);
netif_rx(skb);
+ tunnel->dev->last_rx = jiffies;
read_unlock(&ipip_lock);
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] ipip.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.