Skip to contentSkip to conversation

net: __netif_receive_skb should be static

PATCH Applied Eric Dumazet 2 participants 2 messages Mar 29, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: __netif_receive_skb should be static

---

net/core/dev.c +1 -1
index bcb3ed2..887aa84 100644
@@ -2621,7 +2621,7 @@ void netif_nit_deliver(struct sk_buff *skb)
 	rcu_read_unlock();
 }
 
-int __netif_receive_skb(struct sk_buff *skb)
+static int __netif_receive_skb(struct sk_buff *skb)
 {
 	struct packet_type *ptype, *pt_prev;
 	struct net_device *orig_dev;