diff options
| author | David S. Miller <[email protected]> | 2016-11-03 15:41:12 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-03 15:41:12 -0400 |
| commit | a799126864986076e576d7bec549ae055eaa4490 (patch) | |
| tree | 89cb7c09e7b2a523a0fa8f266aae125fc163db93 /include/linux | |
| parent | 1b99e5e854d4de2d795c4dbed7cc59c65ae372fe (diff) | |
| parent | dbd1759e6a9c4596d8609897c414da603da80914 (diff) | |
Merge branch 'ip-recvfragsize-cmsg'
Willem de Bruijn says:
====================
ip: add RECVFRAGSIZE cmsg
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.
====================
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ipv6.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index ca1ad9ebbc92..1afb6e8d35c3 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -229,8 +229,9 @@ struct ipv6_pinfo { rxflow:1, rxtclass:1, rxpmtu:1, - rxorigdstaddr:1; - /* 2 bits hole */ + rxorigdstaddr:1, + recvfragsize:1; + /* 1 bits hole */ } bits; __u16 all; } rxopt; |