OpenCloudOS-Kernel/drivers/net/ethernet/freescale/dpaa
Camelia Groza 433dfc99aa dpaa_eth: fix the access method for the dpaa_napi_portal
The current use of container_of is flawed and unnecessary. Obtain
the dpaa_napi_portal reference from the private percpu data instead.

Fixes: a1e031ffb4 ("dpaa_eth: add XDP_REDIRECT support")
Reported-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Link: https://lore.kernel.org/r/20210218182106.22613-1-camelia.groza@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-02-22 17:54:39 -08:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dpaa_eth.c dpaa_eth: fix the access method for the dpaa_napi_portal 2021-02-22 17:54:39 -08:00
dpaa_eth.h dpaa_eth: add XDP_REDIRECT support 2020-11-30 17:33:21 -08:00
dpaa_eth_sysfs.c dpaa_eth: use only one buffer pool per interface 2019-10-31 12:13:33 -07:00
dpaa_eth_trace.h dpaa_eth: add trace points 2016-11-15 22:34:25 -05:00
dpaa_ethtool.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00