Raslan Darawsheh 53601aefc4 net/tap: fix build for glibc < 2.24
When trying to compile with glibc < 2.24 that doesn't
support SOL_NETLINK it will cause compilation failure:

drivers/net/tap/tap_netlink.c:70:17: error:
 'SOL_NETLINK' undeclared (first use in this function)
  setsockopt(fd, SOL_NETLINK, NETLINK_EXT_ACK, &one, sizeof(one));

The glibc commits adds the SOL_NETLINK support:
https://github.com/bminor/glibc/commit/f9b437d5efce93800b51ad2a437c8b1c9

Fixes: 647909bcf34b ("net/tap: use netlink extended ack support")

Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-05-11 22:27:39 +02:00
..
2018-04-11 01:47:47 +02:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:16:18 +02:00
2020-05-11 22:27:39 +02:00
2018-04-11 01:47:47 +02:00
2018-04-27 18:00:59 +01:00
2018-04-11 01:47:47 +02:00
2020-04-16 18:16:46 +02:00
2018-04-11 01:47:47 +02:00