HomeFreeBSD

MFC r305877:

Description

MFC r305877:
mlx5en: Fix duplicate mbuf free-by-code.

When mlx5e_sq_xmit() returns an error code and the mbuf pointer is set,
we should not free the mbuf, because the caller will keep the mbuf in
the drbr. Make sure the mbuf pointer is correctly set upon function
exit.

Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS306253: MFC r305876:
Branches
Unknown
Tags
Unknown