macsec: a few fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 4 repliesIn review
- v15 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | macsec: add missing NULL check after kmallocdrivers/ | +2 | 3 replies | |
| 2/9 | macsec: take rtnl lock before for_each_netdevdrivers/ | +2 | 0 replies | |
| 3/9 | macsec: don't put a NULL rxsadrivers/ | +2 | 0 replies | |
| 4/9 | macsec: fix rx_sa refcounting with decrypt callbackdrivers/ | +9 | 0 replies | |
| 5/9 | macsec: add consistency check to netlink dumpsdrivers/ | +11 | 0 replies | |
| 6/9 | macsec: fix memory leaks around rx_handler (un)registrationdrivers/ | +6 | 0 replies | |
| 7/9 | macsec: fix SA leak if initialization failsdrivers/ | +2 | 0 replies | |
| 8/9 | macsec: add missing macsec prefix in uapidrivers/ include/ | +9 | 0 replies | |
| 9/9 | macsec: fix netlink attribute validationdrivers/ | +2 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Hannes Frederic Sowa |
|---|---|
| 1/9 | A-b |
| 2/9 | A-b |
| 3/9 | A-b |
| 4/9 | A-b |
| 5/9 | A-b |
| 6/9 | A-b |
| 7/9 | A-b |
| 8/9 | A-b |
| 9/9 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v2 0/9] macsec: a few fixes
Some small fixes for the macsec driver:
- possible NULL pointer dereferences
- netlink dumps fixes: RTNL locking, consistent dumps
- a reference counting bug
- wrong name for uapi constant
- a few memory leaks
Patches 1 to 5 are the same as in v1, patches 6 to 9 are new. Patch 6 fixes the memleak that Lance spotted in v1.
Sabrina Dubroca (9):
macsec: add missing NULL check after kmalloc
macsec: take rtnl lock before for_each_netdev
macsec: don't put a NULL rxsa
macsec: fix rx_sa refcounting with decrypt callback
macsec: add consistency check to netlink dumps
macsec: fix memory leaks around rx_handler (un)registration
macsec: fix SA leak if initialization fails
macsec: add missing macsec prefix in uapi
macsec: fix netlink attribute validation
drivers/net/macsec.c | 65 +++++++++++++++++++++++++++--------------- include/uapi/linux/if_macsec.h | 4 +-- 2 files changed, 44 insertions(+), 25 deletions(-)
Signature · 1 line
2.8.0