On 8/20/2018 2:58 PM, Chas Williams wrote: > On Mon, Aug 20, 2018 at 2:54 AM Jia Yu <[email protected]> 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: [email protected] >> Signed-off-by: Jia Yu <[email protected]> >> > > Acked-by: Chas Williams <[email protected]>
Applied to dpdk-next-net/master, thanks.

