[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170610.185811.1771245027556677313.davem@davemloft.net>
Date: Sat, 10 Jun 2017 18:58:11 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: colona@...sta.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] tcp: md5: extend the tcp_md5sig struct to
specify a key address prefix
From: Ivan Delalande <colona@...sta.com>
Date: Fri, 9 Jun 2017 19:14:49 -0700
> Add a flag field and address prefix length at the end of the tcp_md5sig
> structure so users can configure an address prefix length along with a
> key. Make sure shorter option values are still accepted in
> tcp_v4_parse_md5_keys and tcp_v6_parse_md5_keys to maintain backward
> compatibility.
>
> Signed-off-by: Bob Gilligan <gilligan@...sta.com>
> Signed-off-by: Eric Mowat <mowat@...sta.com>
> Signed-off-by: Ivan Delalande <colona@...sta.com>
As I believe was previously stated, the problem with this approach is
that if a new tool requests the prefix length and is run on an older
kernel, the kernel will return success even though the prefix length
was not taken into account.
We do not want to get a success back when the operation requested was
not performed.
Powered by blists - more mailing lists