]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdff483bc84599f69a0cdf2bac9600a77fdf86602
tree89cb7c09e7b2a523a0fa8f266aae125fc163db93
parent354872a6ba20063ebaf40344d86dc6f3aef54228
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