diff options
| author | David S. Miller <davem@davemloft.net> | 2019-07-08 18:48:57 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-07-08 18:48:57 -0800 |
| commit | af144a983402f7fd324ce556d9f9011a8b3e01fe (patch) | |
| tree | 7a0250b960a36976bc683789d9fe86b9f60a97a5 /samples | |
| parent | 6413139dfc641aaaa30580b59696a5f7ea274194 (diff) | |
| parent | e858faf556d4e14c750ba1e8852783c6f9520a0e (diff) | |
| download | linux-stable-af144a983402f7fd324ce556d9f9011a8b3e01fe.tar.gz linux-stable-af144a983402f7fd324ce556d9f9011a8b3e01fe.tar.bz2 linux-stable-af144a983402f7fd324ce556d9f9011a8b3e01fe.tar.xz linux-stable-af144a983402f7fd324ce556d9f9011a8b3e01fe.zip | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Two cases of overlapping changes, nothing fancy.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
| -rw-r--r-- | samples/bpf/xdp_redirect_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/xdp_redirect_user.c b/samples/bpf/xdp_redirect_user.c index 39de06f3ec25..5440cd620607 100644 --- a/samples/bpf/xdp_redirect_user.c +++ b/samples/bpf/xdp_redirect_user.c | |||
| @@ -196,7 +196,7 @@ int main(int argc, char **argv) | |||
| 196 | } | 196 | } |
| 197 | 197 | ||
| 198 | memset(&info, 0, sizeof(info)); | 198 | memset(&info, 0, sizeof(info)); |
| 199 | ret = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); | 199 | ret = bpf_obj_get_info_by_fd(dummy_prog_fd, &info, &info_len); |
| 200 | if (ret) { | 200 | if (ret) { |
| 201 | printf("can't get prog info - %s\n", strerror(errno)); | 201 | printf("can't get prog info - %s\n", strerror(errno)); |
| 202 | return ret; | 202 | return ret; |
