Hello,

On Mon, 13 Jun 2016, Hannes Frederic Sowa wrote:

> Signed-off-by: Hannes Frederic Sowa <han...@stressinduktion.org>
> ---
>  include/net/flow.h              | 11 -----------
>  include/net/route.h             |  8 ++++----
>  net/netfilter/ipvs/ip_vs_xmit.c |  9 +++++++--
>  net/sctp/protocol.c             | 10 ++++------
>  4 files changed, 15 insertions(+), 23 deletions(-)
> 
> diff --git a/include/net/flow.h b/include/net/flow.h
> index 2c8e95b987c98c..6276a81f7b3d13 100644
> --- a/include/net/flow.h
> +++ b/include/net/flow.h
> @@ -90,17 +90,6 @@ struct flowi4 {
>  #define fl4_gre_key          uli.gre_key
>  } __attribute__((__aligned__(BITS_PER_LONG/8)));
>  
> -/* Reset some input parameters after previous lookup */
> -static inline void flowi4_update_output(struct flowi4 *fl4, int oif, __u8 
> tos,
> -                                     __be32 daddr, __be32 saddr)
> -{
> -     fl4->flowi4_oif = oif;
> -     fl4->flowi4_tos = tos;
> -     fl4->daddr = daddr;
> -     fl4->saddr = saddr;
> -}

        My preference is this function to stay, it helps
to know the few places that use the route result for new
lookup.

Regards

--
Julian Anastasov <j...@ssi.bg>

Reply via email to