Commit 2c0fc1d5 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jialin Zhang
Browse files

net: socket: remove register_gifconf

stable inclusion
from stable-v5.10.146
commit aa400ccadf5961154bc62d15b474eed8818d60bd
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0VX

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=aa400ccadf5961154bc62d15b474eed8818d60bd



--------------------------------

[ Upstream commit b0e99d03 ]

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: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 5641c751 ("net: enetc: deny offload of tc-based TSN features on VF interfaces")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 5bd84ef7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment