aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJianguo Wu <wujianguo@chinatelecom.cn>2022-01-21 17:15:31 +0800
committerDavid S. Miller <davem@davemloft.net>2022-01-24 11:58:46 +0000
commit1d10f8a1f40b965d449e8f2d5ed7b96a7c138b77 (patch)
tree7865322f57c133bb4f43a1ec7942b5bea1339ad1 /tools/perf/scripts/python/net_dropmonitor.py
parentbonding: use rcu_dereference_rtnl when get bonding active slave (diff)
downloadlinux-1d10f8a1f40b965d449e8f2d5ed7b96a7c138b77.tar.gz
linux-1d10f8a1f40b965d449e8f2d5ed7b96a7c138b77.zip
net-procfs: show net devices bound packet types
After commit:7866a621043f ("dev: add per net_device packet type chains"), we can not get packet types that are bound to a specified net device by /proc/net/ptype, this patch fix the regression. Run "tcpdump -i ens192 udp -nns0" Before and after apply this patch: Before: [root@localhost ~]# cat /proc/net/ptype Type Device Function 0800 ip_rcv 0806 arp_rcv 86dd ipv6_rcv After: [root@localhost ~]# cat /proc/net/ptype Type Device Function ALL ens192 tpacket_rcv 0800 ip_rcv 0806 arp_rcv 86dd ipv6_rcv v1 -> v2: - fix the regression rather than adding new /proc API as suggested by Stephen Hemminger. Fixes: 7866a621043f ("dev: add per net_device packet type chains") Signed-off-by: Jianguo Wu <wujianguo@chinatelecom.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
nvme: unmap CMB and remove sysfs file in reset pathJon Derrick1-1/+6 2017-05-19KVM: x86: prevent uninitialized variable warning in check_svme()Radim Krčmář1-1/+1 2017-05-19KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh()Radim Krčmář1-1/+1 2017-05-19KVM: x86: zero base3 of unusable segmentsRadim Krčmář1-0/+2 2017-05-19KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulationWanpeng Li1-9/+15 2017-05-19KVM: x86: Fix potential preemption when get the current kvmclock timestampWanpeng Li1-1/+9 2017-05-19blktrace: fix integer parseShaohua Li1-2/+2 2017-05-19i2c: designware: don't infer timings described by ACPI from clock rateArd Biesheuvel1-8/+10 2017-05-19arm64: dts: rockchip: fix include referenceArnd Bergmann1-1/+1 2017-05-19watchdog: bcm281xx: Fix use of uninitialized spinlock.Eric Anholt1-1/+2 2017-05-19watchdog: zx2967: remove redundant dev_err call in zx2967_wdt_probe()Wei Yongjun1-3/+1 2017-05-19iTCO_wdt: all versions count down twicePaolo Bonzini2-13/+11 2017-05-19firmware: ti_sci: fix strncat length checkArnd Bergmann1-1/+2 2017-05-19ARM: remove duplicate 'const' annotations'Arnd Bergmann6-6/+6 2017-05-19arm64: defconfig: enable options needed for QCom DB410c boardRob Herring1-0/+7 2017-05-18arm64: defconfig: sync with savedefconfigRob Herring1-61/+42