mirror of https://github.com/torvalds/linux.git
Recent updates to the PTP part of bnxt changed the way PTP FIFO is
cleared, skbs waiting for TX timestamps are now cleared during
ndo_close() call. To do clearing procedure, the ptp structure must
exist and point to a valid address. Module destroy sequence had ptp
clear code running before netdev close causing invalid memory access and
kernel crash. Change the sequence to destroy ptp structure after device
close.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| bnxt.c | ||
| bnxt.h | ||
| bnxt_coredump.c | ||
| bnxt_coredump.h | ||
| bnxt_dcb.c | ||
| bnxt_dcb.h | ||
| bnxt_debugfs.c | ||
| bnxt_debugfs.h | ||
| bnxt_devlink.c | ||
| bnxt_devlink.h | ||
| bnxt_dim.c | ||
| bnxt_ethtool.c | ||
| bnxt_ethtool.h | ||
| bnxt_fw_hdr.h | ||
| bnxt_hsi.h | ||
| bnxt_hwmon.c | ||
| bnxt_hwmon.h | ||
| bnxt_hwrm.c | ||
| bnxt_hwrm.h | ||
| bnxt_nvm_defs.h | ||
| bnxt_ptp.c | ||
| bnxt_ptp.h | ||
| bnxt_sriov.c | ||
| bnxt_sriov.h | ||
| bnxt_tc.c | ||
| bnxt_tc.h | ||
| bnxt_ulp.c | ||
| bnxt_ulp.h | ||
| bnxt_vfr.c | ||
| bnxt_vfr.h | ||
| bnxt_xdp.c | ||
| bnxt_xdp.h | ||