lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190221.103743.1368165116938788064.davem@davemloft.net>
Date:   Thu, 21 Feb 2019 10:37:43 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     wenxu@...oud.cn
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH] ip_tunnel: Add ip tunnel tunnel_info dst_cache in
 ip_tunnel_xmit

From: wenxu@...oud.cn
Date: Thu, 21 Feb 2019 20:08:50 +0800

> From: wenxu <wenxu@...oud.cn>
> 
> ip l add dev tun type gretap key 1000
> 
> Non-tunnel-dst ip tunnel device can send packet through lwtunnel.
> This patch provide the tun_info dst cache support for this mode
> 
> Signed-off-by: wenxu <wenxu@...oud.cn>
> ---
>  net/ipv4/ip_tunnel.c | 25 ++++++++++++++++++++-----
>  1 file changed, 20 insertions(+), 5 deletions(-)
> 
> diff --git a/net/ipv4/ip_tunnel.c b/net/ipv4/ip_tunnel.c
> index 893f013..874ad58 100644
> --- a/net/ipv4/ip_tunnel.c
> +++ b/net/ipv4/ip_tunnel.c
> @@ -662,6 +662,9 @@ void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev,
>  	unsigned int max_headroom;	/* The extra header space needed */
>  	__be32 dst;
>  	bool connected;
> +	bool use_cache = false;
> +	bool md = false;
> +	struct ip_tunnel_info *tun_info;

Reverse christmas tree, please.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ