ipv6: on reassembly, record frag_max_size
authorWillem de Bruijn <willemb@google.com>
Wed, 2 Nov 2016 15:02:18 +0000 (11:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Nov 2016 19:41:11 +0000 (15:41 -0400)
commitdbd1759e6a9c4596d8609897c414da603da80914
tree89cb7c09e7b2a523a0fa8f266aae125fc163db93
parent0cc0aa614b4c24b21b2492c0a1753035ee8c6edb
ipv6: on reassembly, record frag_max_size

IP6CB and IPCB have a frag_max_size field. In IPv6 this field is
filled in when packets are reassembled by the connection tracking
code. Also fill in when reassembling in the input path, to expose
it through cmsg IPV6_RECVFRAGSIZE in all cases.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/reassembly.c