diff options
| author | Dan Carpenter <[email protected]> | 2017-08-18 10:27:02 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-18 10:18:20 -0700 |
| commit | ae2b27b859a144f503d382580320873c0beb09c7 (patch) | |
| tree | 08251cb6077167a861775b00370bfbe5fe4d2bc6 /tools/perf/scripts/python | |
| parent | 98ee2a11374ad1dc7b69c97500f65c87f49ff911 (diff) | |
bpf: fix a return in sockmap_get_from_fd()
"map" is a valid pointer. We wanted to return "err" instead. Also
let's return a zero literal at the end.
Fixes: 174a79ff9515 ("bpf: sockmap with sk redirect support")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: John Fastabend <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions