linux/drivers/net/ethernet/ti
Toke Høiland-Jørgensen c63003e3d9 net: cpsw: Properly initialise struct page_pool_params
The cpsw driver didn't properly initialise the struct page_pool_params
before calling page_pool_create(), which leads to crashes after the struct
has been expanded with new parameters.

The second Fixes tag below is where the buggy code was introduced, but
because the code was moved around this patch will only apply on top of the
commit in the first Fixes tag.

Fixes: c5013ac1dd ("net: ethernet: ti: cpsw: move set of common functions in cpsw_priv")
Fixes: 9ed4050c0d ("net: ethernet: ti: cpsw: add XDP support")
Reported-by: Colin Foster <colin.foster@in-advantage.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Tested-by: Colin Foster <colin.foster@in-advantage.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-25 11:06:33 +00:00
..
am65-cpsw-ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
am65-cpsw-nuss.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-12-16 16:13:19 -08:00
am65-cpsw-nuss.h net: ti: am65-cpsw-nuss: fix RX IRQ state after .ndo_stop() 2021-08-06 11:08:57 +01:00
am65-cpsw-qos.c net: ethernet: ti: am65-cpsw-qos: Demote non-conformant function header 2021-01-16 18:13:10 -08:00
am65-cpsw-qos.h
am65-cpsw-switchdev.c net: switchdev: zero-initialize struct switchdev_notifier_fdb_info emitted by drivers towards the bridge 2021-08-10 13:22:57 -07:00
am65-cpsw-switchdev.h net: ti: am65-cpsw-nuss: Add switchdev support 2021-02-11 17:52:13 -08:00
am65-cpts.c net: ethernet: ti: am65-cpts: Use devm_platform_ioremap_resource_byname() 2021-06-09 15:24:43 -07:00
am65-cpts.h
cpmac.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
cpsw_ale.c net: ethernet: ti: cpsw_ale: Fix access to un-initialized memory 2021-11-10 14:33:04 +00:00
cpsw_ale.h net: ethernet: ti: cpsw_ale: add cpsw_ale_vlan_del_modify() 2020-11-02 16:41:07 -08:00
cpsw_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
cpsw_new.c net: cpsw: avoid alignment faults by taking NET_IP_ALIGN into account 2022-01-19 14:19:19 +00:00
cpsw_priv.c net: cpsw: Properly initialise struct page_pool_params 2022-01-25 11:06:33 +00:00
cpsw_priv.h net: Add includes masked by netdevice.h including uapi/bpf.h 2021-12-29 20:03:05 -08:00
cpsw_sl.c
cpsw_sl.h
cpsw_switchdev.c net: switchdev: zero-initialize struct switchdev_notifier_fdb_info emitted by drivers towards the bridge 2021-08-10 13:22:57 -07:00
cpsw_switchdev.h
cpsw-common.c
cpsw-phy-sel.c net: ethernet: ti: cpsw-phy-sel: Use devm_platform_ioremap_resource_byname() 2021-06-09 15:27:55 -07:00
cpsw.c net: cpsw: avoid alignment faults by taking NET_IP_ALIGN into account 2022-01-19 14:19:19 +00:00
cpsw.h
cpts.c ethernet: ti: cpts: Use devm_kcalloc() instead of devm_kzalloc() 2021-10-07 09:08:43 -07:00
cpts.h
davinci_cpdma.c net: ethernet: ti: davinci_cpdma: revert "drop frame padding" 2021-08-06 16:18:15 -07:00
davinci_cpdma.h net: ethernet: ti: davinci_cpdma: revert "drop frame padding" 2021-08-06 16:18:15 -07:00
davinci_emac.c net: ethernet: ti: davinci_emac: Use platform_get_irq() to get the interrupt 2021-12-27 12:22:19 +00:00
davinci_mdio.c drivers: net: davinci_mdio: Use of_device_get_match_data() 2021-01-26 12:17:31 -06:00
k3-cppi-desc-pool.c
k3-cppi-desc-pool.h
Kconfig Revert "net: build all switchdev drivers as modules when the bridge is a module" 2021-08-04 12:35:07 +01:00
Makefile net: ti: am65-cpsw-nuss: Add switchdev support 2021-02-11 17:52:13 -08:00
netcp_core.c ethernet: make use of eth_hw_addr_random() where appropriate 2021-10-14 09:22:15 -07:00
netcp_ethss.c net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX 2021-12-14 12:28:24 +00:00
netcp_sgmii.c
netcp_xgbepcsr.c
netcp.h
tlan.c ethernet: tlan: use eth_hw_addr_set() 2021-10-20 11:41:01 +01:00
tlan.h