* iproute2 bug: please specify a netlink destination
@ 2014-05-30 18:36 Andy Lutomirski
0 siblings, 0 replies; only message in thread
From: Andy Lutomirski @ 2014-05-30 18:36 UTC (permalink / raw)
To: Network Development
strace ip link says:
socket(PF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, 0) = 3
setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(3, SOL_SOCKET, SO_RCVBUF, [1048576], 4) = 0
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=3853, groups=00000000}, [12]) = 0
sendto(3, "(\0\0\0\22\0\1\3\351\316\210S\0\0\0\0\21\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
40, 0, NULL, 0) = 40
The fact that sendto doesn't return -ENOTCONN is a straight up bug,
and, of course, it's now unfixable. But please at least fix iproute2
to minimize future pain.
--Andy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-30 18:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-30 18:36 iproute2 bug: please specify a netlink destination Andy Lutomirski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).