numam-dpdk/drivers/net
Abhishek Sachan 7c3bcc7b6d net/af_packet: fix stale sockets
af_packet driver is leaving stale socket after device is removed.

Ring buffers are memory mapped when device is added using rte_dev_probe.
There is no corresponding munmap call when device is removed/closed.

This commit fixes the issue by calling munmap
from rte_pmd_af_packet_remove().

Bugzilla ID: 339
Fixes: e6ee4db01b ("af_packet: make the device detachable")
Cc: stable@dpdk.org

Signed-off-by: Abhishek Sachan <abhishek.sachan@altran.com>
Reviewed-by: John W. Linville <linville@tuxdriver.com>
2019-08-27 15:31:16 +02:00
..
af_packet net/af_packet: fix stale sockets 2019-08-27 15:31:16 +02:00
af_xdp net/af_xdp: remove unused Tx counter 2019-07-26 15:27:05 +02:00
ark net/ark: implement dynamic log type 2019-08-27 10:44:14 +02:00
atlantic drivers/net: use ack in interrupt handlers 2019-07-23 12:00:23 +02:00
avp drivers/net: use ack in interrupt handlers 2019-07-23 12:00:23 +02:00
axgbe drivers/net: use ack in interrupt handlers 2019-07-23 12:00:23 +02:00
bnx2x net/bnx2x: fix fastpath SB allocation for SRIOV 2019-07-23 14:31:34 +02:00
bnxt net/bnxt: revert fix traffic stall on stop/start 2019-08-10 23:55:07 +02:00
bonding net/bonding: prefer allmulti to promiscuous for LACP 2019-08-22 18:45:49 +02:00
cxgbe net/cxgbe: implement dynamic log type 2019-08-27 10:29:50 +02:00
dpaa net/dpaa: fix build with 0 headroom 2019-08-05 19:24:17 +02:00
dpaa2 bus/fslmc: fix build with 0 headroom 2019-08-05 19:24:27 +02:00
e1000 net/e1000: fix PCI config read check 2019-08-06 13:07:54 +02:00
ena net/ena: fix L4 checksum Tx offload 2019-08-05 19:42:02 +02:00
enetc drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
enic net/enic: restore default log level to info 2019-07-29 13:01:01 +02:00
failsafe net/failsafe: skip devargs if not present in secondary 2019-07-23 14:31:35 +02:00
fm10k net/fm10k: fix stats crash in multi-process 2019-08-26 12:43:23 +02:00
hinic net/hinic: fix implicit downcast of bitfield 2019-07-23 14:31:35 +02:00
i40e net/i40e: fix VF runtime queues RSS config 2019-08-26 12:43:23 +02:00
iavf net/iavf: fix address of first segment 2019-08-06 13:30:42 +02:00
ice net/ice: fix address of first segment 2019-08-06 13:29:25 +02:00
ifc net/ifc: add devargs pointer check 2019-07-23 14:31:35 +02:00
ipn3ke remove extra blank lines at end of files 2019-08-05 15:19:32 +02:00
ixgbe net/ixgbe/base: fix product version check 2019-08-08 16:55:19 +02:00
kni net/kni: do not count unsent packets as errors 2019-07-26 15:27:05 +02:00
liquidio net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
memif net/memif: fix build with gcc 9.1 2019-08-07 10:21:33 +02:00
mlx4 net/mlx4: fix crash on info query in secondary process 2019-08-06 17:42:12 +02:00
mlx5 net/mlx5: fix TSO flag check 2019-08-26 14:41:13 +02:00
mvneta net/mvneta: remove resources when port is closed 2019-07-08 21:26:52 +02:00
mvpp2 net/mvpp2: remove resources when port is closed 2019-08-05 19:26:32 +02:00
netvsc net/netvsc: fix definition of offload values 2019-07-05 01:52:01 +02:00
nfb net/nfb: support timestamp 2019-07-23 14:31:34 +02:00
nfp drivers/net: use ack in interrupt handlers 2019-07-23 12:00:23 +02:00
null net/null: replace BSD license with SPDX tag 2019-08-26 14:43:46 +02:00
octeontx net/octeontx: use driver log type 2019-07-23 14:31:36 +02:00
octeontx2 common/octeontx2: fix mbox memory access 2019-08-05 23:18:27 +02:00
pcap net/pcap: propagate timestamp from header to mbuf 2019-08-27 13:52:53 +02:00
qede drivers/net: use ack in interrupt handlers 2019-07-23 12:00:23 +02:00
ring net/ring: do not count unsent packets as errors 2019-07-26 15:27:05 +02:00
sfc net/sfc: unify power of 2 alignment check macro 2019-07-24 21:01:11 +02:00
softnic net/softnic: add config flexibility to TM 2019-07-22 15:41:50 +02:00
szedata2 net/szedata2: support Silicom Mango card 2019-07-03 12:57:30 +02:00
tap net/tap: remove redundant declarations 2019-07-23 14:31:34 +02:00
thunderx net/thunderx: fix crash on detach 2019-08-05 19:03:01 +02:00
vdev_netvsc net/vdev_netvsc: use new ethernet address parser 2019-07-08 21:26:52 +02:00
vhost net/vhost: do not count unsent packets as errors 2019-07-26 15:27:05 +02:00
virtio net/virtio: fix build with 0 headroom 2019-08-05 19:26:49 +02:00
vmxnet3 net/vmxnet3: replace license text with SPDX tag 2019-07-29 13:31:45 +02:00
Makefile net/octeontx2: add build and doc infrastructure 2019-07-05 01:52:01 +02:00
meson.build net/octeontx2: add build and doc infrastructure 2019-07-05 01:52:01 +02:00