]> git.itanic.dy.fi Git - linux-stable/commit
net: socket: remove register_gifconf
authorArnd Bergmann <arnd@arndb.de>
Thu, 22 Jul 2021 14:29:01 +0000 (16:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 09:10:35 +0000 (11:10 +0200)
commitaa400ccadf5961154bc62d15b474eed8818d60bd
tree7630d25e68e511f8b3ddabf8c9f892fd901d17f8
parent8bd98cfbfcb031d1005ce9cc13a289908c045ef0
net: socket: remove register_gifconf

[ Upstream commit b0e99d03778b2418aec20db99d97d19d25d198b6 ]

Since dynamic registration of the gifconf() helper is only used for
IPv4, and this can not be in a loadable module, this can be simplified
noticeably by turning it into a direct function call as a preparation
for cleaning up the compat handling.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 5641c751fe2f ("net: enetc: deny offload of tc-based TSN features on VF interfaces")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/inetdevice.h
include/linux/netdevice.h
net/core/dev_ioctl.c
net/ipv4/devinet.c