Loading
netdevsim: fix rtnetlink.sh selftest
mainline inclusion from mainline-v6.9-rc1 commit 8ee60f9c41fb01440e8a8f97127869c9b1978362 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB5TUY Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8ee60f9c41fb01440e8a8f97127869c9b1978362 -------------------------------- I cleared IFF_NOARP flag from netdevsim dev->flags in order to support skb forwarding. This breaks the rtnetlink.sh selftest kci_test_ipsec_offload() test because ipsec does not connect to peers it cannot transmit to. Fix the issue by adding a neigh entry manually. ipsec_offload test now successfully pass. Signed-off-by:David Wei <dw@davidwei.uk> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Jiangshan Yi <yijiangshan@kylinos.cn>