mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. No conflicts. Adjacent changes: drivers/net/ethernet/intel/igc/igc_main.c06b412589e("igc: Add lock to safeguard global Qbv variables")d3750076d4("igc: Add TransmissionOverrun counter") drivers/net/ethernet/microsoft/mana/mana_en.ca7dfeda6fd("net: mana: Fix MANA VF unload when hardware is unresponsive")a9ca9f9cef("page_pool: split types and declarations from page_pool.h")92272ec410("eth: add missing xdp.h includes in drivers") net/mptcp/protocol.h511b90e392("mptcp: fix disconnect vs accept race")b8dc6d6ce9("mptcp: fix rcv buffer auto-tuning") tools/testing/selftests/net/mptcp/mptcp_join.shc8c101ae39("selftests: mptcp: join: fix 'implicit EP' test")03668c65d1("selftests: mptcp: join: rework detailed report") Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -761,6 +761,7 @@ pm_nl_del_endpoint()
|
||||
local addr=$3
|
||||
|
||||
if [ $ip_mptcp -eq 1 ]; then
|
||||
[ $id -ne 0 ] && addr=''
|
||||
ip -n $ns mptcp endpoint delete id $id $addr
|
||||
else
|
||||
ip netns exec $ns ./pm_nl_ctl del $id $addr
|
||||
@@ -846,10 +847,11 @@ pm_nl_check_endpoint()
|
||||
fi
|
||||
|
||||
if [ $ip_mptcp -eq 1 ]; then
|
||||
# get line and trim trailing whitespace
|
||||
line=$(ip -n $ns mptcp endpoint show $id)
|
||||
line="${line% }"
|
||||
# the dump order is: address id flags port dev
|
||||
expected_line="$addr"
|
||||
[ -n "$addr" ] && expected_line="$expected_line $addr"
|
||||
[ -n "$addr" ] && expected_line="$addr"
|
||||
expected_line="$expected_line $id"
|
||||
[ -n "$_flags" ] && expected_line="$expected_line ${_flags//","/" "}"
|
||||
[ -n "$dev" ] && expected_line="$expected_line $dev"
|
||||
|
||||
Reference in New Issue
Block a user