Skip to contentSkip to conversation

xfrm4_input.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/xfrm4_input.c.new Sat Aug 14 11:19:09 2004 renamed from net/ipv4/xfrm4_input.c Sat Aug 14 05:54:50 2004 +1 -0
@@ -138,6 +138,7 @@ int xfrm4_rcv_encap(struct sk_buff *skb,
             dst_release(skb->dst);
             skb->dst = NULL;
         }
+       skb->dev->last_rx = jiffies;
         netif_rx(skb);
         return 0;
     } else {

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors