summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorDmitry Safonov <dima@arista.com>2022-02-23 17:57:40 +0000
committerJakub Kicinski <kuba@kernel.org>2022-02-24 21:43:53 -0800
commit7bbb765b73496699a165d505ecdce962f903b422 (patch)
treefbeff4cccbc36e575e1e029f5dd0ce248f79798b /virt
parent53110c67e3358f1b9a6f0f6997d3beef7832aa40 (diff)
net/tcp: Merge TCP-MD5 inbound callbacks
The functions do essentially the same work to verify TCP-MD5 sign. Code can be merged into one family-independent function in order to reduce copy'n'paste and generated code. Later with TCP-AO option added, this will allow to create one function that's responsible for segment verification, that will have all the different checks for MD5/AO/non-signed packets, which in turn will help to see checks for all corner-cases in one function, rather than spread around different families and functions. Cc: Eric Dumazet <edumazet@google.com> Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Signed-off-by: Dmitry Safonov <dima@arista.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20220223175740.452397-1-dima@arista.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions