diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-18 10:27:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-18 10:18:20 -0700 |
commit | ae2b27b859a144f503d382580320873c0beb09c7 (patch) | |
tree | 08251cb6077167a861775b00370bfbe5fe4d2bc6 /tools/perf/scripts/python/export-to-postgresql.py | |
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 <dan.carpenter@oracle.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions