X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fnet%2Fdst.h;h=5161e89017f934cb6be31560961b52906a56dbdd;hb=b0b020d4783fbc4cc477e2ca678ac47c50d5bc3e;hp=bee8b84d329db3522f0e9fc7f3991e4579f7963c;hpb=cc918c7ab7da017bfaf9661420bb5c462e057cfb;p=karo-tx-linux.git diff --git a/include/net/dst.h b/include/net/dst.h index bee8b84d329d..5161e89017f9 100644 --- a/include/net/dst.h +++ b/include/net/dst.h @@ -225,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. */