git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libbpf: Use AF_LOCAL instead of AF_INET in xsk.c
[sfrench/cifs-2.6.git]
/
tools
/
lib
/
bpf
/
xsk.c
diff --git
a/tools/lib/bpf/xsk.c
b/tools/lib/bpf/xsk.c
index 20500fb1f17efe1aa0b7ab130936cf650d3f5290..ffbb588724d8fc79bae9fd7ff8182b9eb649808f 100644
(file)
--- a/
tools/lib/bpf/xsk.c
+++ b/
tools/lib/bpf/xsk.c
@@
-517,7
+517,7
@@
static int xsk_get_max_queues(struct xsk_socket *xsk)
struct ifreq ifr = {};
int fd, err, ret;
- fd = socket(AF_
INET
, SOCK_DGRAM, 0);
+ fd = socket(AF_
LOCAL
, SOCK_DGRAM, 0);
if (fd < 0)
return -errno;