diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2021-03-03 12:51:03 -0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-03-19 08:47:46 -0700 |
commit | f0a03a026857d6c7766eb7d5835edbf5523ca15c (patch) | |
tree | e21a085692568a68b7b66ac6c57203af7fde531e /MAINTAINERS | |
parent | a75519a84855bca029ce7d8a27de9409d9b84956 (diff) | |
download | linux-f0a03a026857d6c7766eb7d5835edbf5523ca15c.tar.bz2 |
igb: check timestamp validity
Add a couple of checks to make sure timestamping is on and that the
timestamp value from DMA is valid. This avoids any functional issues
that could come from a misinterpreted time stamp.
One of the functions changed doesn't need a return value added because
there was no value in checking from the calling locations.
While here, fix a couple of reverse christmas tree issues next to
the code being changed.
Fixes: f56e7bba22fa ("igb: Pull timestamp from fragment before adding it to skb")
Fixes: 9cbc948b5a20 ("igb: add XDP support")
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions