]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/net/dst.h
[IPV4]: Kill fib4_rules_clean().
[mv-sheeva.git] / include / net / dst.h
index 6c196a5baf24bda85e3789163ebe4a6cdf74eb31..36d54fc248b001cc1bbd9915039c005931fd14d1 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef _NET_DST_H
 #define _NET_DST_H
 
-#include <linux/config.h>
+#include <linux/netdevice.h>
 #include <linux/rtnetlink.h>
 #include <linux/rcupdate.h>
 #include <linux/jiffies.h>
@@ -224,16 +224,7 @@ static inline void dst_set_expires(struct dst_entry *dst, int timeout)
 /* Output packet to network from transport.  */
 static inline int dst_output(struct sk_buff *skb)
 {
-       int err;
-
-       for (;;) {
-               err = skb->dst->output(skb);
-
-               if (likely(err == 0))
-                       return err;
-               if (unlikely(err != NET_XMIT_BYPASS))
-                       return err;
-       }
+       return skb->dst->output(skb);
 }
 
 /* Input packet from network to transport.  */