: Fix axrpc/afs related bugs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | : Fix use after free in netlink_recvmsgnet/ | +2 | 0 replies | |
| 2/4 | : Fix memory leak in SRXAFSCB_GetCapabilitiesfs/ | +1 | 0 replies | |
| 3/4 | : Add __dev_getfirstbyhwtypeinclude/ net/ | +17 | 0 replies | |
| 4/4 | : Replace rtnetlink client by direct dev_base walkingfs/ fs/ fs/ +1 more | +55 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/04]: Fix axrpc/afs related bugs
These patches fix two bugs introduced by the RXRPC patches. While looking at the other code that came in with these patches, I noticed it includes an entire rtnetlink client in the kernel, which doesn't seem to make much sense since all the information is available in much easier ways, so I've replaced it by two small helper functions that should do exactly the same.
Unless I'm missing something fundamental, please apply :)
fs/afs/Makefile | 2 fs/afs/cmservice.c | 1 fs/afs/internal.h | 1 fs/afs/netdevices.c | 54 +++++ fs/afs/use-rtnetlink.c | 473 ---------------------------------------------- include/linux/netdevice.h | 1 net/core/dev.c | 21 +- net/netlink/af_netlink.c | 6 8 files changed, 75 insertions(+), 484 deletions(-)
Patrick McHardy (4):
[NETLINK]: Fix use after free in netlink_recvmsg [AFS]: Fix memory leak in SRXAFSCB_GetCapabilities [NET]: Add __dev_getfirstbyhwtype
[AFS]: Replace rtnetlink client by direct dev_base walking