linux_dsm_epyc7002/drivers/net/ethernet/marvell/mvpp2
Matteo Croce 4e48978cd2 mvpp2: fix pointer check
priv->page_pool is an array, so comparing against it will always return true.
Do a meaningful check by checking priv->page_pool[0] instead.
While at it, clear the page_pool pointers on deallocation, or when an
allocation error happens during init.

Reported-by: Colin Ian King <colin.king@canonical.com>
Fixes: c2d6fe6163 ("mvpp2: XDP TX support")
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-07 13:03:21 -07:00
..
Makefile
mvpp2_cls.c net: mvpp2: fix RX hashing for non-10G ports 2020-05-22 15:31:43 -07:00
mvpp2_cls.h
mvpp2_debugfs.c
mvpp2_main.c mvpp2: fix pointer check 2020-07-07 13:03:21 -07:00
mvpp2_prs.c
mvpp2_prs.h
mvpp2.h mvpp2: xdp ethtool stats 2020-07-03 14:46:24 -07:00