1. 09 4月, 2019 2 次提交
  2. 28 2月, 2019 1 次提交
    • M
      bnxt_en: Drop oversize TX packets to prevent errors. · 2b3c6885
      Michael Chan 提交于
      There have been reports of oversize UDP packets being sent to the
      driver to be transmitted, causing error conditions.  The issue is
      likely caused by the dst of the SKB switching between 'lo' with
      64K MTU and the hardware device with a smaller MTU.  Patches are
      being proposed by Mahesh Bandewar <maheshb@google.com> to fix the
      issue.
      
      In the meantime, add a quick length check in the driver to prevent
      the error.  The driver uses the TX packet size as index to look up an
      array to setup the TX BD.  The array is large enough to support all MTU
      sizes supported by the driver.  The oversize TX packet causes the
      driver to index beyond the array and put garbage values into the
      TX BD.  Add a simple check to prevent this.
      Signed-off-by: NMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2b3c6885
  3. 23 2月, 2019 2 次提交
  4. 20 2月, 2019 3 次提交
  5. 07 2月, 2019 1 次提交
  6. 01 2月, 2019 1 次提交
  7. 13 1月, 2019 2 次提交
  8. 08 1月, 2019 1 次提交
  9. 21 12月, 2018 10 次提交
  10. 18 12月, 2018 10 次提交
  11. 13 12月, 2018 2 次提交
  12. 10 12月, 2018 4 次提交
  13. 16 11月, 2018 1 次提交