[dpdk-dev] [dpdk-stable] [PATCH] net/af_packet: fix for stale sockets
ferruh.yigit at intel.com
Tue Aug 27 15:37:41 CEST 2019
On 8/23/2019 4:28 PM, John W. Linville wrote:
> On Thu, Aug 22, 2019 at 11:55:36AM +0530, Abhishek Sachan wrote:
>> 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
>> Cc: stable at dpdk.org
>> Signed-off-by: Abhishek Sachan <abhishek.sachan at altran.com>
>> Reviewed-by: John W. Linville <linville at redhat.com>
> Reviewed-by: John W. Linville <linville at redhat.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev