Skip to content

net: psp: add more validation

Jakub Kicinski netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3psp: validate protocol before mutating skb in psp_dev_encapsulate()net/psp/psp_main.c+5 -32 repliesApplied
2/3psp: add a comment about a psp_dev add netlink notificationnet/psp/psp_main.c+4 -01 replyApplied
3/3psp: validate IPv4 header fields in psp_dev_rcv()net/psp/psp_main.c+9 -04 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchEric DumazetWillem de Bruijn
1/3R-b R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: psp: add more validation

Address some AI code-scan issues with the PSP code. I don't think any of these are real bugs, but they may become bugs in the future. The two real bugs discovered were posted separately for net. AI reports 3 more which seem plain wrong (rx SPI "leak" on error etc.).

Jakub Kicinski (3):
psp: validate protocol before mutating skb in psp_dev_encapsulate()
psp: add a comment about a psp_dev add netlink notification
psp: validate IPv4 header fields in psp_dev_rcv()

 net/psp/psp_main.c | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)
Signature · 1 line
2.54.0