diff options
author | 2024-02-21 11:27:29 +0900 | |
---|---|---|
committer | 2024-02-23 11:59:30 +0000 | |
commit | b0b1210bc150fbd741b4b9fce8a24541306b40fc (patch) | |
tree | 3e50f91e747af749915542ddbb43a39f06ca8f1c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dpaa: fman_memac: accept phy-interface-type = "10gbase-r" in the device tree (diff) | |
download | wireguard-linux-b0b1210bc150fbd741b4b9fce8a24541306b40fc.tar.xz wireguard-linux-b0b1210bc150fbd741b4b9fce8a24541306b40fc.zip |
ps3/gelic: Fix SKB allocation
Commit 3ce4f9c3fbb3 ("net/ps3_gelic_net: Add gelic_descr structures") of
6.8-rc1 had a copy-and-paste error where the pointer that holds the
allocated SKB (struct gelic_descr.skb) was set to NULL after the SKB was
allocated. This resulted in a kernel panic when the SKB pointer was
accessed.
This fix moves the initialization of the gelic_descr to before the SKB
is allocated.
Reported-by: sambat goson <sombat3960@gmail.com>
Fixes: 3ce4f9c3fbb3 ("net/ps3_gelic_net: Add gelic_descr structures")
Signed-off-by: Geoff Levand <geoff@infradead.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions