inet: better const qualifier awareness
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 · linked by author and title
- v2 Latest8 patches 1 replyApplied 8/8
- v18 patches 23 repliesSuperseded
Patches in v2 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | inet: preserve const qualifier in inet_sk()include/ include/ include/ +5 more | +12 | 0 replies | Applied |
| 2/8 | ipv4: constify ip_mc_sf_allow() socket argumentinclude/ net/ | +3 | 0 replies | Applied |
| 3/8 | udp: constify __udp_is_mcast_sock() socket argumentnet/ | +2 | 0 replies | Applied |
| 4/8 | ipv6: constify inet6_mc_check()include/ net/ | +5 | 0 replies | Applied |
| 5/8 | udp6: constify __udp_v6_is_mcast_sock() socket argumentnet/ | +2 | 0 replies | Applied |
| 6/8 | ipv6: raw: constify raw_v6_match() socket argumentinclude/ net/ | +2 | 0 replies | Applied |
| 7/8 | ipv4: raw: constify raw_v4_match() socket argumentinclude/ net/ | +3 | 0 replies | Applied |
| 8/8 | inet_diag: constify raw_lookup() socket argumentnet/ | +1 | 0 replies | Applied |
Reviews trailers per patch
7 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Simon Horman | David Ahern |
|---|---|---|
| Series | R-b | |
| 1/8 | ||
| 2/8 | R-b | |
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | R-b | |
| 7/8 | R-b | |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net-next 0/8] inet: better const qualifier awareness
inet_sk() can be changed to propagate const qualifier, thanks to container_of_const()
Following patches in this series add more const qualifiers.
Other helpers like tcp_sk(), udp_sk(), raw_sk(), ... will be handled in following series.
Eric Dumazet (8):
inet: preserve const qualifier in inet_sk()
ipv4: constify ip_mc_sf_allow() socket argument
udp: constify __udp_is_mcast_sock() socket argument
ipv6: constify inet6_mc_check()
udp6: constify __udp_v6_is_mcast_sock() socket argument
ipv6: raw: constify raw_v6_match() socket argument
ipv4: raw: constify raw_v4_match() socket argument
inet_diag: constify raw_lookup() socket argument
include/linux/igmp.h | 2 +- include/net/addrconf.h | 2 +- include/net/inet_sock.h | 5 +---- include/net/raw.h | 2 +- include/net/rawv6.h | 2 +- include/trace/events/sock.h | 4 ++-- include/trace/events/tcp.h | 2 +- net/ipv4/igmp.c | 4 ++-- net/ipv4/ip_output.c | 5 +++-- net/ipv4/raw.c | 4 ++-- net/ipv4/raw_diag.c | 2 +- net/ipv4/udp.c | 4 ++-- net/ipv6/mcast.c | 8 ++++---- net/ipv6/ping.c | 2 +- net/ipv6/raw.c | 2 +- net/ipv6/udp.c | 6 +++--- net/mptcp/sockopt.c | 2 +- security/lsm_audit.c | 4 ++-- 18 files changed, 30 insertions(+), 32 deletions(-)
Signature · 1 line
2.40.0.rc2.332.ga46443480c-goog