diff options
author | William Tu <u9012063@gmail.com> | 2018-03-09 18:34:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-09 21:03:56 +0300 |
commit | d6aa71197ffcb68850bfebfc3fc160abe41df53b (patch) | |
tree | 426dd72f36f26419573310a4567c19fa1f29c198 /fs/statfs.c | |
parent | 3b04caab81649a9e8d5375b919b6653d791951df (diff) | |
download | linux-d6aa71197ffcb68850bfebfc3fc160abe41df53b.tar.xz |
ip6erspan: improve error handling for erspan version number.
When users fill in incorrect erspan version number through
the struct erspan_metadata uapi, current code skips pushing
the erspan header but continue pushing the gre header, which
is incorrect. The patch fixes it by returning error.
Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/statfs.c')
0 files changed, 0 insertions, 0 deletions