diff options
| author | Xin Long <[email protected]> | 2023-05-11 23:22:11 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-05-13 15:58:58 +0000 |
| commit | d80fc101d2eb9b3188c228d61223890aeea480a4 (patch) | |
| tree | 3be6d05869e57ab1d31a062e460584dfe6ea07de /net/nsh/nsh.c | |
| parent | tcp: fix possible sk_priority leak in tcp_v4_send_reset() (diff) | |
| download | kernel-d80fc101d2eb9b3188c228d61223890aeea480a4.tar.gz kernel-d80fc101d2eb9b3188c228d61223890aeea480a4.zip | |
erspan: get the proto with the md version for collect_md
In commit 20704bd1633d ("erspan: build the header with the right proto
according to erspan_ver"), it gets the proto with t->parms.erspan_ver,
but t->parms.erspan_ver is not used by collect_md branch, and instead
it should get the proto with md->version for collect_md.
Thanks to Kevin for pointing this out.
Fixes: 20704bd1633d ("erspan: build the header with the right proto according to erspan_ver")
Fixes: 94d7d8f29287 ("ip6_gre: add erspan v2 support")
Reported-by: Kevin Traynor <[email protected]>
Signed-off-by: Xin Long <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: William Tu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
