mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
Merge tag 'net-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from Jakub Kicinski: "Including fixes from bluetooth, bpf and wireguard. Current release - regressions: - nvme-tcp: fix comma-related oops after sendpage changes Current release - new code bugs: - ptp: make max_phase_adjustment sysfs device attribute invisible when not supported Previous releases - regressions: - sctp: fix potential deadlock on &net->sctp.addr_wq_lock - mptcp: - ensure subflow is unhashed before cleaning the backlog - do not rely on implicit state check in mptcp_listen() Previous releases - always broken: - net: fix net_dev_start_xmit trace event vs skb_transport_offset() - Bluetooth: - fix use-bdaddr-property quirk - L2CAP: fix multiple UaFs - ISO: use hci_sync for setting CIG parameters - hci_event: fix Set CIG Parameters error status handling - hci_event: fix parsing of CIS Established Event - MGMT: fix marking SCAN_RSP as not connectable - wireguard: queuing: use saner cpu selection wrapping - sched: act_ipt: various bug fixes for iptables <> TC interactions - sched: act_pedit: add size check for TCA_PEDIT_PARMS_EX - dsa: fixes for receiving PTP packets with 8021q and sja1105 tagging - eth: sfc: fix null-deref in devlink port without MAE access - eth: ibmvnic: do not reset dql stats on NON_FATAL err Misc: - xsk: honor SO_BINDTODEVICE on bind" * tag 'net-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (70 commits) nfp: clean mc addresses in application firmware when closing port selftests: mptcp: pm_nl_ctl: fix 32-bit support selftests: mptcp: depend on SYN_COOKIES selftests: mptcp: userspace_pm: report errors with 'remove' tests selftests: mptcp: userspace_pm: use correct server port selftests: mptcp: sockopt: return error if wrong mark selftests: mptcp: sockopt: use 'iptables-legacy' if available selftests: mptcp: connect: fail if nft supposed to work mptcp: do not rely on implicit state check in mptcp_listen() mptcp: ensure subflow is unhashed before cleaning the backlog s390/qeth: Fix vipa deletion octeontx-af: fix hardware timestamp configuration net: dsa: sja1105: always enable the send_meta options net: dsa: tag_sja1105: fix MAC DA patching from meta frames net: Replace strlcpy with strscpy pptp: Fix fib lookup calls. mlxsw: spectrum_router: Fix an IS_ERR() vs NULL check net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX xsk: Honor SO_BINDTODEVICE on bind ptp: Make max_phase_adjustment sysfs device attribute invisible when not supported ...
This commit is contained in:
@@ -108,12 +108,13 @@ function pgset() {
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ -z "$APPEND" ]]; then
|
||||
if [[ $EUID -eq 0 ]]; then
|
||||
# Cleanup pktgen setup on exit if thats not "append mode"
|
||||
trap 'pg_ctrl "reset"' EXIT
|
||||
fi
|
||||
fi
|
||||
function trap_exit()
|
||||
{
|
||||
# Cleanup pktgen setup on exit if thats not "append mode"
|
||||
if [[ -z "$APPEND" ]] && [[ $EUID -eq 0 ]]; then
|
||||
trap 'pg_ctrl "reset"' EXIT
|
||||
fi
|
||||
}
|
||||
|
||||
## -- General shell tricks --
|
||||
|
||||
|
@@ -33,6 +33,10 @@ root_check_run_with_sudo "$@"
|
||||
|
||||
# Parameter parsing via include
|
||||
source ${basedir}/parameters.sh
|
||||
|
||||
# Trap EXIT first
|
||||
trap_exit
|
||||
|
||||
# Using invalid DST_MAC will cause the packets to get dropped in
|
||||
# ip_rcv() which is part of the test
|
||||
if [ -z "$DEST_IP" ]; then
|
||||
|
@@ -14,6 +14,10 @@ root_check_run_with_sudo "$@"
|
||||
|
||||
# Parameter parsing via include
|
||||
source ${basedir}/parameters.sh
|
||||
|
||||
# Trap EXIT first
|
||||
trap_exit
|
||||
|
||||
if [ -z "$DEST_IP" ]; then
|
||||
[ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
|
||||
fi
|
||||
|
@@ -13,6 +13,10 @@ root_check_run_with_sudo "$@"
|
||||
# - go look in parameters.sh to see which setting are avail
|
||||
# - required param is the interface "-i" stored in $DEV
|
||||
source ${basedir}/parameters.sh
|
||||
|
||||
# Trap EXIT first
|
||||
trap_exit
|
||||
|
||||
#
|
||||
# Set some default params, if they didn't get set
|
||||
if [ -z "$DEST_IP" ]; then
|
||||
|
@@ -14,6 +14,9 @@ root_check_run_with_sudo "$@"
|
||||
# Required param: -i dev in $DEV
|
||||
source ${basedir}/parameters.sh
|
||||
|
||||
# Trap EXIT first
|
||||
trap_exit
|
||||
|
||||
[ -z "$COUNT" ] && COUNT="100000" # Zero means indefinitely
|
||||
|
||||
# Base Config
|
||||
|
@@ -25,6 +25,10 @@ root_check_run_with_sudo "$@"
|
||||
|
||||
# Parameter parsing via include
|
||||
source ${basedir}/parameters.sh
|
||||
|
||||
# Trap EXIT first
|
||||
trap_exit
|
||||
|
||||
# Set some default params, if they didn't get set
|
||||
if [ -z "$DEST_IP" ]; then
|
||||
[ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
|
||||
|
@@ -12,6 +12,10 @@ root_check_run_with_sudo "$@"
|
||||
|
||||
# Parameter parsing via include
|
||||
source ${basedir}/parameters.sh
|
||||
|
||||
# Trap EXIT first
|
||||
trap_exit
|
||||
|
||||
# Set some default params, if they didn't get set
|
||||
if [ -z "$DEST_IP" ]; then
|
||||
[ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
|
||||
|
@@ -16,6 +16,10 @@ root_check_run_with_sudo "$@"
|
||||
|
||||
# Parameter parsing via include
|
||||
source ${basedir}/parameters.sh
|
||||
|
||||
# Trap EXIT first
|
||||
trap_exit
|
||||
|
||||
# Set some default params, if they didn't get set
|
||||
if [ -z "$DEST_IP" ]; then
|
||||
[ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
|
||||
|
@@ -14,6 +14,9 @@ root_check_run_with_sudo "$@"
|
||||
# Required param: -i dev in $DEV
|
||||
source ${basedir}/parameters.sh
|
||||
|
||||
# Trap EXIT first
|
||||
trap_exit
|
||||
|
||||
# Base Config
|
||||
[ -z "$COUNT" ] && COUNT="20000000" # Zero means indefinitely
|
||||
[ -z "$CLONE_SKB" ] && CLONE_SKB="0"
|
||||
|
Reference in New Issue
Block a user