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>
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are GPL-2.0 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org
Description
Languages
C
99.1%
Meson
0.5%
Python
0.2%
Shell
0.1%