]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/dst.h
net: Kill plain NET_XMIT_BYPASS.
[linux-2.6-omap-h63xx.git] / include / net / dst.h
index c5c318a628f8b0e218c793783c6245aec374d725..8a8b71e5f3f13578a2004fe84ee6e17dc7caa9a4 100644 (file)
@@ -252,17 +252,7 @@ static inline int dst_output(struct sk_buff *skb)
 /* Input packet from network to transport.  */
 static inline int dst_input(struct sk_buff *skb)
 {
-       int err;
-
-       for (;;) {
-               err = skb->dst->input(skb);
-
-               if (likely(err == 0))
-                       return err;
-               /* Oh, Jamal... Seems, I will not forgive you this mess. :-) */
-               if (unlikely(err != NET_XMIT_BYPASS))
-                       return err;
-       }
+       return skb->dst->input(skb);
 }
 
 static inline struct dst_entry *dst_check(struct dst_entry *dst, u32 cookie)