can: gw: Netlink related fixes
Status from this message: Thanks applied to linux-can-next.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | can: Don't bump nlmsg_len manuallynet/ | +1 | 0 replies | |
| 2/4 | can: Use nla_policy to validate netlink attributesnet/ | +23 | 0 replies | |
| 3/4 | can: Properly fill the netlink header when responding to RTM_GETROUTEnet/ | +7 | 6 replies | |
| 4/4 | can: Remove pointless castsnet/ | +2 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Oliver Hartkopp |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | T-b A-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] can: gw: Netlink related fixes
Hi
These patches fix some Netlink quirks in the CAN gateway code. Unfortunately I do not own any CAN hardware so this is compile tested only. I'm fairly confident though as the changes are mostly straight forward. I would appreciate if someone could run them through a test suite or something though.
Thomas Graf (4):
can: Don't bump nlmsg_len manually
can: Use nla_policy to validate netlink attributes
can: Properly fill the netlink header when responding to RTM_GETROUTE
can: Remove pointless casts
net/can/gw.c | 90 +++++++++++++++++++++------------------------------------ 1 files changed, 33 insertions(+), 57 deletions(-)
Signature · 1 line
1.7.7.6