|
@@ -349,18 +349,6 @@ static inline void skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev,
|
|
|
__skb_tunnel_rx(skb, dev, net);
|
|
|
}
|
|
|
|
|
|
-/* Children define the path of the packet through the
|
|
|
- * Linux networking. Thus, destinations are stackable.
|
|
|
- */
|
|
|
-
|
|
|
-static inline struct dst_entry *skb_dst_pop(struct sk_buff *skb)
|
|
|
-{
|
|
|
- struct dst_entry *child = dst_clone(skb_dst(skb)->child);
|
|
|
-
|
|
|
- skb_dst_drop(skb);
|
|
|
- return child;
|
|
|
-}
|
|
|
-
|
|
|
int dst_discard_sk(struct sock *sk, struct sk_buff *skb);
|
|
|
static inline int dst_discard(struct sk_buff *skb)
|
|
|
{
|