1
0
Fork 0
alistair23-linux/drivers/net/ethernet/pensando/ionic
Shannon Nelson d2c2142232 ionic: linearize tso skb with too many frags
We were linearizing non-TSO skbs that had too many frags, but
we weren't checking number of frags on TSO skbs.  This could
lead to a bad page reference when we received a TSO skb with
more frags than the Tx descriptor could support.

v2: use gso_segs rather than yet another division
    don't rework the check on the nr_frags

Fixes: 0f3154e6bc ("ionic: Add Tx and Rx handling")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-17 11:27:30 -07:00
..
Makefile ionic: add devlink firmware update 2020-09-18 13:54:23 -07:00
ionic.h ionic: clean adminq service routine 2020-09-02 15:47:01 -07:00
ionic_bus.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_bus_pci.c ionic: refill lif identity after fw_up 2020-10-02 16:30:01 -07:00
ionic_debugfs.c ionic: dynamic interrupt moderation 2020-09-16 17:35:47 -07:00
ionic_debugfs.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_dev.c ionic: remove some unnecessary oom messages 2020-12-01 17:14:23 -08:00
ionic_dev.h ionic: batch rx buffer refilling 2020-11-14 13:22:58 -08:00
ionic_devlink.c devlink: move request_firmware out of driver 2020-11-19 21:40:57 -08:00
ionic_devlink.h devlink: move request_firmware out of driver 2020-11-19 21:40:57 -08:00
ionic_ethtool.c drivers: net: ionic: simplify the return expression of ionic_set_rxfh() 2020-12-08 16:22:54 -08:00
ionic_ethtool.h ionic: Add initial ethtool support 2019-09-05 09:24:44 +02:00
ionic_fw.c devlink: move flash end and begin to core devlink 2020-11-19 21:41:02 -08:00
ionic_if.h ionic: add new bad firmware error code 2020-10-02 16:30:01 -07:00
ionic_lif.c ionic: change mtu after queues are stopped 2020-12-01 17:14:23 -08:00
ionic_lif.h ionic: Remove unused function pointer typedef ionic_reset_cb 2021-02-16 13:43:58 -08:00
ionic_main.c ionic: remove some unnecessary oom messages 2020-12-01 17:14:23 -08:00
ionic_regs.h ionic: make spdxcheck.py happy 2020-03-21 19:53:57 -07:00
ionic_rx_filter.c ionic: update filter id after replay 2020-07-20 18:09:38 -07:00
ionic_rx_filter.h ionic: replay filters after fw upgrade 2020-04-08 13:02:32 -07:00
ionic_stats.c net: don't include ethtool.h from netdevice.h 2020-11-23 17:27:04 -08:00
ionic_stats.h ionic: clean up sparse complaints 2020-10-23 18:37:23 -07:00
ionic_txrx.c ionic: linearize tso skb with too many frags 2021-03-17 11:27:30 -07:00
ionic_txrx.h ionic: no rx flush in deinit 2020-10-23 18:37:23 -07:00