]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: fix xdp_rxq_info build issue when CONFIG_SYSFS is not set
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 9 Jan 2018 22:42:34 +0000 (23:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 20:37:00 +0000 (15:37 -0500)
commitfd3ba21478d0ca40da2b71850a2cc447516bb7d8
tree56adf790ab576bd474f80a2968c564bd6b8fffd1
parentfee2d546414d74052c68e864e3fdbd0e8c692974
net: fix xdp_rxq_info build issue when CONFIG_SYSFS is not set

The commit e817f85652c1 ("xdp: generic XDP handling of xdp_rxq_info")
removed some ifdef CONFIG_SYSFS in net/core/dev.c, but forgot to
remove the corresponding ifdef's in include/linux/netdevice.h.

Fixes: e817f85652c1 ("xdp: generic XDP handling of xdp_rxq_info")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h