commit | 3132174b4b5c999d383f047eebdcd8a326431802 | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Mon Nov 18 18:10:12 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 18 17:19:56 2019 -0800 |
tree | 83167f15b90cddeecb2d343fdca512468dbb5e9b | |
parent | bec39a9fbbfa52dc8e6b213b1bde57313b252dd6 [diff] |
lwtunnel: change to use nla_put_u8 for LWTUNNEL_IP_OPT_ERSPAN_VER LWTUNNEL_IP_OPT_ERSPAN_VER is u8 type, and nla_put_u8 should have been used instead of nla_put_u32(). This is a copy-paste error. Fixes: b0a21810bd5e ("lwtunnel: add options setting and dumping for erspan") Signed-off-by: Xin Long <lucien.xin@gmail.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>