net/bnxt: fix mbuf flags for PTP packets
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Thu, 28 Jan 2021 03:53:30 +0000 (09:23 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:12 +0000 (18:16 +0100)
commitd3376cdc7d7d685aee9e84186f8ae315c03f57f3
tree35380ac965b9be502f12bf2f9db0246addf1d6b6
parent9526f3003e8f301ce19cce10b45b1c28c7fef4be
net/bnxt: fix mbuf flags for PTP packets

Commit "899f06130724" broke the update of mbuf flags for PTP packets.
"mbuf->ol_flags" is overwritten in bnxt_set_ol_flags() function.

Fixes: 899f06130724 ("net/bnxt: add Rx logic for 58818 chips")

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c