Skip to contentSkip to conversation

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