[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240509121844.GU1736038@kernel.org>
Date: Thu, 9 May 2024 13:18:44 +0100
From: Simon Horman <horms@...nel.org>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, laforge@...ocom.org,
pespin@...mocom.de, osmith@...mocom.de
Subject: Re: [PATCH net-next,v3 11/12] gtp: support for IPv4-in-IPv6-GTP and
IPv6-in-IPv4-GTP
On Tue, May 07, 2024 at 01:52:50AM +0200, Pablo Neira Ayuso wrote:
> Add new protocol field to PDP context that determines the transmit path
> IP protocol to encapsulate the original packets, either IPv4 or IPv6.
>
> Relax existing netlink attribute checks to allow to specify different
> family in MS and peer attributes from the control plane.
>
> Use build helpers to tx path to encapsulate IPv4-in-IPv6-GTP and
> IPv6-in-IPv4-GTP according to the user-specified configuration.
>
> >From rx path, snoop for the inner protocol header since outer
> skb->protocol might differ and use this to validate for valid PDP
> context and to restore skb->protocol after decapsulation.
>
> Signed-off-by: Pablo Neira Ayuso <pablo@...filter.org>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists