ip: add RECVFRAGSIZE cmsg
Get series with b4
b4 am 1478098938-124108-1-git-send-email-willemdebruijn.kernel@gmail.comVersions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ipv4: add IP_RECVFRAGSIZE cmsginclude/ include/ net/ | +28 | 1 reply | |
| 2/3 | ipv6: add IPV6_RECVFRAGSIZE cmsginclude/ include/ net/ +1 more | +17 | 1 reply | |
| 3/3 | ipv6: on reassembly, record frag_max_sizenet/ | +6 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Eric Dumazet |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] ip: add RECVFRAGSIZE cmsg
From: Willem de Bruijn <[email protected]>
On IP datagrams and raw sockets, when packets arrive fragmented, expose the largest received fragment size through a new cmsg.
Protocols implemented on top of these sockets may use this, for instance, to inform peers to lower MSS on platforms that silently allow send calls to exceed PMTU and cause fragmentation.
Willem de Bruijn (3):
ipv4: add IP_RECVFRAGSIZE cmsg
ipv6: add IPV6_RECVFRAGSIZE cmsg
ipv6: on reassembly, record frag_max_size
include/linux/ipv6.h | 5 +++-- include/net/inet_sock.h | 1 + include/uapi/linux/in.h | 1 + include/uapi/linux/in6.h | 1 + net/ipv4/ip_sockglue.c | 26 ++++++++++++++++++++++++++ net/ipv6/datagram.c | 5 +++++ net/ipv6/ipv6_sockglue.c | 8 ++++++++ net/ipv6/reassembly.c | 7 ++++++- 8 files changed, 51 insertions(+), 3 deletions(-)
Signature · 1 line
2.8.0.rc3.226.g39d4020