summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorPeilin Ye <peilin.ye@bytedance.com>2022-04-22 01:07:57 +0300
committerDavid S. Miller <davem@davemloft.net>2022-04-25 13:40:45 +0300
commitff827beb706ed719c766acf36449801ded0c17fc (patch)
tree709a0dc47a77937982fc939a5f6d5b10463ba208 /net/ipv6
parent9810c58c7051ae83e7ac326fca3daa823da6b778 (diff)
downloadlinux-ff827beb706ed719c766acf36449801ded0c17fc.tar.xz
ip_gre: Make o_seqno start from 0 in native mode
For GRE and GRETAP devices, currently o_seqno starts from 1 in native mode. According to RFC 2890 2.2., "The first datagram is sent with a sequence number of 0." Fix it. It is worth mentioning that o_seqno already starts from 0 in collect_md mode, see gre_fb_xmit(), where tunnel->o_seqno is passed to gre_build_header() before getting incremented. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Peilin Ye <peilin.ye@bytedance.com> Acked-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions