diff options
author | 2019-04-09 12:03:07 +0200 | |
---|---|---|
committer | 2019-04-11 00:08:51 -0700 | |
commit | 526bb57a6ad6b0ed6de34b3c5eabf394b248618f (patch) | |
tree | cecc25880710856f01ac24febf76ebc399a64b8b /net/core/net_namespace.c | |
parent | fou: correct spelling of encapsulation (diff) | |
download | wireguard-linux-526bb57a6ad6b0ed6de34b3c5eabf394b248618f.tar.xz wireguard-linux-526bb57a6ad6b0ed6de34b3c5eabf394b248618f.zip |
net: fou: remove redundant code in gue_udp_recv
Remove not useful protocol version check in gue_udp_recv since just
gue version 0 can hit that code. Moreover remove duplicated hdrlen
computation
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net_namespace.c')
0 files changed, 0 insertions, 0 deletions