X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fnet%2Fdst.h;h=5161e89017f934cb6be31560961b52906a56dbdd;hb=15c38c6ecd772ae4cc497955f916f40e803e7528;hp=6c196a5baf24bda85e3789163ebe4a6cdf74eb31;hpb=96b88fb850cc419171f926ad04650ec509e9f543;p=powerpc.git diff --git a/include/net/dst.h b/include/net/dst.h index 6c196a5baf..5161e89017 100644 --- a/include/net/dst.h +++ b/include/net/dst.h @@ -9,6 +9,7 @@ #define _NET_DST_H #include +#include #include #include #include @@ -224,16 +225,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. */