[PATCH 0/2] hw/net_rocker_of_dpa: two bugfixes

Peter Maydell posted 2 patches 3 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260505185157.608910-1-peter.maydell@linaro.org
Maintainers: Jiri Pirko <jiri@resnulli.us>, Jason Wang <jasowang@redhat.com>
hw/net/rocker/rocker_of_dpa.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
[PATCH 0/2] hw/net_rocker_of_dpa: two bugfixes
Posted by Peter Maydell 3 weeks, 3 days ago
These patches fix two bugs: a NULL pointer dereference if the guest
does something wrong (reported a few years back as issue #1851),
and a sanitizer complaint about unaligned accesses that I noticed
while reproducing the first bug.

thanks
-- PMM

Peter Maydell (2):
  hw/net/rocker_of_dpa: Check group ID pointers are not NULL
  hw/net/rocker_of_dpa: Avoid unaligned accesses in _of_dpa_flow_match()

 hw/net/rocker/rocker_of_dpa.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] hw/net_rocker_of_dpa: two bugfixes
Posted by Peter Maydell 4 days, 1 hour ago
Ping for code review, please?

thanks
-- PMM


On Tue, 5 May 2026 at 19:51, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> These patches fix two bugs: a NULL pointer dereference if the guest
> does something wrong (reported a few years back as issue #1851),
> and a sanitizer complaint about unaligned accesses that I noticed
> while reproducing the first bug.
>
> thanks
> -- PMM
>
> Peter Maydell (2):
>   hw/net/rocker_of_dpa: Check group ID pointers are not NULL
>   hw/net/rocker_of_dpa: Avoid unaligned accesses in _of_dpa_flow_match()
>
>  hw/net/rocker/rocker_of_dpa.c | 16 ++++++++++------
>  1 file changed, 10 insertions(+), 6 deletions(-)