Commit 15c5c00b authored by Daniel Borkmann's avatar Daniel Borkmann Committed by Zheng Zengkai
Browse files

net: Consolidate common blackhole dst ops



stable inclusion
from stable-5.10.27
commit 0a245acbce8991668d5406f128f2c06a310c99a1
bugzilla: 51493

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

[ Upstream commit c4c877b2 ]

Move generic blackhole dst ops to the core and use them from both
ipv4_dst_blackhole_ops and ip6_dst_blackhole_ops where possible. No
functional change otherwise. We need these also in other locations
and having to define them over and over again is not great.

Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 220279de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment