]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Linux: keep the generic netlink socket around to get ssid with privsep
authorRoy Marples <roy@marples.name>
Mon, 22 Jun 2020 20:56:16 +0000 (21:56 +0100)
committerRoy Marples <roy@marples.name>
Mon, 22 Jun 2020 20:56:16 +0000 (21:56 +0100)
commitb987123de4668b20c02104dccf7be77e3d145bef
tree043fda8fb077d73ee3fc9eb34dce3ceefe82a79c
parentb01bc8b277abe5fca1898a3a36ec773303f75336
Linux: keep the generic netlink socket around to get ssid with privsep

While here, improve our reading of netlink(7) and terminate on either
ERROR or DONE. If neither are in the message, read again unless it's
the link receiving socket.
Also, only callback if this is the sequence number expected.
src/if-linux.c