Messages in this thread | | | Date | Tue, 14 Mar 2023 16:42:43 +0100 | From | Simon Horman <> | Subject | Re: [PATCH net-next v7 4/5] ip_tunnel: Preserve pointer const in ip_tunnel_info_opts |
| |
On Mon, Mar 13, 2023 at 07:57:23PM -0700, Eric Dumazet wrote: > On Mon, Mar 13, 2023 at 12:51 AM Gavin Li <gavinl@nvidia.com> wrote: > > > > Change ip_tunnel_info_opts( ) from static function to macro to cast return > > value and preserve the const-ness of the pointer. > > > > Signed-off-by: Gavin Li <gavinl@nvidia.com> > > --- > > include/net/ip_tunnels.h | 11 ++++++----- > > 1 file changed, 6 insertions(+), 5 deletions(-) > > > > Reviewed-by: Eric Dumazet <edumazet@google.com>
Thanks Gavin,
this addresses my concerns.
Reviewed-by: Simon Horman <simon.horman@corigine.com>
| |