summaryrefslogtreecommitdiff
path: root/net/netfilter/xt_owner.c
diff options
context:
space:
mode:
authorYonglong Liu <liuyonglong@huawei.com>2023-12-04 22:32:32 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-13 18:18:12 +0100
commitc61c61d7e7de951d585db4809544f3cc876ef4a7 (patch)
tree01806f9cbc9c8615a61fb4b8bab1167a383f3199 /net/netfilter/xt_owner.c
parent1ec21fde58daf930be64ba4659054373fd8435a2 (diff)
net: hns: fix fake link up on xge port
[ Upstream commit f708aba40f9c1eeb9c7e93ed4863b5f85b09b288 ] If a xge port just connect with an optical module and no fiber, it may have a fake link up because there may be interference on the hardware. This patch adds an anti-shake to avoid the problem. And the time of anti-shake is base on tests. Fixes: b917078c1c10 ("net: hns: Add ACPI support to check SFP present") Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Signed-off-by: Jijie Shao <shaojijie@huawei.com> Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/netfilter/xt_owner.c')
0 files changed, 0 insertions, 0 deletions