All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] ip_gre.c: update last_rx after netif_rx
@ 2004-08-14 19:06 Jay Bourque
  2004-08-16  8:38 ` maximilian attems
  2004-08-21  8:36   ` maximilian attems
  0 siblings, 2 replies; 6+ messages in thread
From: Jay Bourque @ 2004-08-14 19:06 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_gre.c    Sat Aug 14 05:55:48 2004
+++ linux-2.6.8.1/net/ipv4/ip_gre.c.new    Sat Aug 14 12:17:16 2004
@@ -646,6 +646,7 @@ int ipgre_rcv(struct sk_buff *skb)
         nf_reset(skb);
         ipgre_ecn_decapsulate(iph, skb);
         netif_rx(skb);
+       tunnel->dev->last_rx = jiffies;
         read_unlock(&ipgre_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] 6+ messages in thread

end of thread, other threads:[~2004-08-23 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-14 19:06 [Kernel-janitors] ip_gre.c: update last_rx after netif_rx Jay Bourque
2004-08-16  8:38 ` maximilian attems
2004-08-21  8:36 ` maximilian attems
2004-08-21  8:36   ` maximilian attems
2004-08-23 20:36   ` max attems
2004-08-23 20:36     ` max attems

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.