Skip to content

hsr: a few bug fixes

Cong Wang netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hsr: fix a memory leak in hsr_del_port()net/hsr/hsr_device.c net/hsr/hsr_slave.c+5 -20 replies
2/3hsr: implement dellink to clean up resourcesnet/hsr/hsr_device.c net/hsr/hsr_device.h net/hsr/hsr_framereg.c +2 more+25 -100 replies
3/3hsr: fix a NULL pointer deref in hsr_dev_xmit()net/hsr/hsr_device.c+7 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Patch net 0/3] hsr: a few bug fixes

This patchset contains 3 bug fixes for hsr triggered by a syzbot reproducer, please check each patch for details.

Cc Arvid Brodin <[email protected]>

Cong Wang (3):
hsr: fix a memory leak in hsr_del_port()
hsr: implement dellink to clean up resources
hsr: fix a NULL pointer deref in hsr_dev_xmit()

---

 net/hsr/hsr_device.c   | 29 ++++++++++++++++-------------
 net/hsr/hsr_device.h   |  1 +
 net/hsr/hsr_framereg.c | 11 ++++++++++-
 net/hsr/hsr_framereg.h |  3 ++-
 net/hsr/hsr_netlink.c  |  7 +++++++
 net/hsr/hsr_slave.c    |  1 +
 6 files changed, 37 insertions(+), 15 deletions(-)
Signature · 1 line
2.21.0