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: <52AEF7F2.6040903@6wind.com>
Date:	Mon, 16 Dec 2013 13:54:10 +0100
From:	Nicolas Dichtel <nicolas.dichtel@...nd.com>
To:	Steffen Klassert <steffen.klassert@...unet.com>,
	netdev@...r.kernel.org
CC:	Christophe Gouault <christophe.gouault@...nd.com>,
	Saurabh Mohan <saurabh.mohan@...tta.com>
Subject: Re: [PATCH RFC v2 08/13] xfrm: Add xfrm_tunnel_skb_cb to the skb
 common buffer

Le 16/12/2013 10:23, Steffen Klassert a écrit :
> IPsec vti_rcv needs to remind the tunnel pointer to
> check it later at the vti_rcv_cb callback. So add
> this pointer to the IPsec common buffer.
>
> Signed-off-by: Steffen Klassert <steffen.klassert@...unet.com>
> ---
>   include/net/xfrm.h |   29 +++++++++++++++++------------
>   1 file changed, 17 insertions(+), 12 deletions(-)
>
> diff --git a/include/net/xfrm.h b/include/net/xfrm.h
> index 2c39cd4..584d0ee4 100644
> --- a/include/net/xfrm.h
> +++ b/include/net/xfrm.h
> @@ -600,16 +600,27 @@ struct xfrm_mgr {
>   int xfrm_register_km(struct xfrm_mgr *km);
>   int xfrm_unregister_km(struct xfrm_mgr *km);
>
> +struct xfrm_tunnel_skb_cb {
> +	union {
> +		struct inet_skb_parm h4;
> +		struct inet6_skb_parm h6;
> +        } header;
Nitpicking: this line is aligned with spaces instead tabs (yes, it's
a copy and paste ;-)).
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ