summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-01-14 18:10:06 +0800
committerDavid S. Miller <davem@davemloft.net>2019-01-16 13:36:43 -0800
commit20704bd1633dd5afb29a321d3a615c9c8e9c9d05 (patch)
tree086597ef434e00d35c1ba2f10187680963c4e779 /include
parent04a4af334b971814eedf4e4a413343ad3287d9a9 (diff)
downloadlinux-stable-20704bd1633dd5afb29a321d3a615c9c8e9c9d05.tar.gz
linux-stable-20704bd1633dd5afb29a321d3a615c9c8e9c9d05.tar.bz2
linux-stable-20704bd1633dd5afb29a321d3a615c9c8e9c9d05.zip
erspan: build the header with the right proto according to erspan_ver
As said in draft-foschiano-erspan-03#section4: Different frame variants known as "ERSPAN Types" can be distinguished based on the GRE "Protocol Type" field value: Type I and II's value is 0x88BE while Type III's is 0x22EB [ETYPES]. So set it properly in erspan_xmit() according to erspan_ver. While at it, also remove the unused parameter 'proto' in erspan_fb_xmit(). Fixes: 94d7d8f29287 ("ip6_gre: add erspan v2 support") Reported-by: Jianlin Shi <jishi@redhat.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions