summaryrefslogtreecommitdiff
path: root/examples/l3fwd-vf
diff options
context:
space:
mode:
authorChas Williams <chas3@att.com>2018-07-03 22:28:32 -0400
committerFerruh Yigit <ferruh.yigit@intel.com>2018-07-05 15:35:19 +0200
commit69bce062132bd2b4a943fafbb710215a7999d198 (patch)
tree52c0e4d603fc4bfeb9c26720764390dc3d8c5b56 /examples/l3fwd-vf
parentd67692bacff307ef0748b1fcd0b155ee6c82f469 (diff)
downloaddpdk-69bce062132bd2b4a943fafbb710215a7999d198.zip
dpdk-69bce062132bd2b4a943fafbb710215a7999d198.tar.gz
dpdk-69bce062132bd2b4a943fafbb710215a7999d198.tar.xz
net/bonding: do not clear active slave count
When the bond PMD is stopped, the active slave count is reset. For 802.3ad mode this potentially leaks memory and clears state since a second sequential activate_slave() will occur when the bond PMD is restarted and the LSC callback is triggered while the active slave count is 0. To fix this, don't clear the active slave count when stopping. Only deactivate_slave() should be used to clear the slaves. Fixes: 2efb58cbab6e ("bond: new link bonding library") Cc: stable@dpdk.org Signed-off-by: Chas Williams <chas3@att.com>
Diffstat (limited to 'examples/l3fwd-vf')
0 files changed, 0 insertions, 0 deletions