diff options
author | Toke Høiland-Jørgensen <[email protected]> | 2022-01-24 15:35:29 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-01-25 11:06:33 +0000 |
commit | c63003e3d99761afb280add3b30de1cf30fa522b (patch) | |
tree | ba7641fd06f929cbb1b51d0cca5f134f37ef5bc0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 29eb31542787e1019208a2e1047bb7c76c069536 (diff) |
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: c5013ac1dd0e ("net: ethernet: ti: cpsw: move set of common functions in cpsw_priv")
Fixes: 9ed4050c0d75 ("net: ethernet: ti: cpsw: add XDP support")
Reported-by: Colin Foster <[email protected]>
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
Tested-by: Colin Foster <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions