net: hsr: add support for EntryForgetTime
[linux-2.6-microblaze.git] / net / caif / chnl_net.c
index 79b6a04..fadc7c8 100644 (file)
@@ -115,10 +115,7 @@ static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt)
        else
                skb->ip_summed = CHECKSUM_NONE;
 
-       if (in_interrupt())
-               netif_rx(skb);
-       else
-               netif_rx_ni(skb);
+       netif_rx_any_context(skb);
 
        /* Update statistics. */
        priv->netdev->stats.rx_packets++;