ipv6: fix error handling in disable_ipv6 sysctl
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 1 replyApplied 6/6
- v27 patches 3 repliesSuperseded 6 of 7 applied
- v16 patches 10 repliesSuperseded
Changes from the cover letter
v3: Patch 7: dropped from the series based on Ido's feedback
Patches in v3 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ipv6: fix error handling in disable_ipv6 sysctlnet/ | +2 | 0 replies | Applied |
| 2/6 | ipv6: fix error handling in ignore_routes_with_linkdown sysctlnet/ | +2 | 0 replies | Applied |
| 3/6 | ipv6: fix error handling in forwarding sysctlnet/ | +3 | 0 replies | Applied |
| 4/6 | ipv6: fix error handling in disable_policy sysctlnet/ | +2 | 0 replies | Applied |
| 5/6 | ipv6: fix state corruption during proxy_ndp sysctl restartnet/ | +7 | 0 replies | Applied |
| 6/6 | ipv6: fix missing notification for ignore_routes_with_linkdownnet/ | +12 | 0 replies | Applied |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nicolas Dichtel | Ido Schimmel |
|---|---|---|
| Series | R-b | |
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | R-b | |
| 4/6 | R-b | |
| 5/6 | R-b | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v3 0/6] ipv6: fix error handling in disable_ipv6 sysctl
While working on a different IPv6 patch series I have spotted multiple minor bugs around sysctl error handling and notifications. In general, they are not serious issues.
In addition, there is one more issue in forwarding sysctl as it does not check for CAP_NET_ADMIN for the namespace. I am keeping that patch out of this series and I am aiming it at the net-next tree once it re-opens.
During v3, Ido's pointed out that it is unnecessary to reset the position pointer when the return value is negative as at new_sync_write() the ppos is only advanced when ret return value is positive. That means we can get rid of that operation in ipv4/ipv6 sysctls. That is going to be sent to net-next too.
Changes:
v3: Patch 7: dropped from the series based on Ido's feedback
v2: https://lore.kernel.org/netdev/[email protected]/
Patch 3: fix return code of addrconf_fixup_forwarding() Patch 5: acquire lock before calling proc_dointvec()
Patch 7: new on this revision of the series
Fernando Fernandez Mancera (6):
ipv6: fix error handling in disable_ipv6 sysctl
ipv6: fix error handling in ignore_routes_with_linkdown sysctl
ipv6: fix error handling in forwarding sysctl
ipv6: fix error handling in disable_policy sysctl
ipv6: fix state corruption during proxy_ndp sysctl restart
ipv6: fix missing notification for ignore_routes_with_linkdown
net/ipv6/addrconf.c | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-)
Signature · 1 line
2.54.0