On 8/20/2018 2:58 PM, Chas Williams wrote: > On Mon, Aug 20, 2018 at 2:54 AM Jia Yu <j...@vmware.com> wrote: > >> When bond slave devices cannot transmit all packets in bufs array, >> tx_burst callback shall merge the un-transmitted packets back to >> bufs array. Recent merge logic introduced a bug which causes >> invalid mbuf addresses being written to bufs array. >> When caller frees the un-transmitted packets, due to invalid addresses, >> application will crash. >> >> The fix is avoid shifting mbufs, and directly write un-transmitted >> packets back to bufs array. >> >> Fixes: 09150784a776 ("net/bonding: burst mode hash calculation") >> Cc: sta...@dpdk.org >> Signed-off-by: Jia Yu <j...@vmware.com> >> > > Acked-by: Chas Williams <ch...@att.com>
Applied to dpdk-next-net/master, thanks.