Re: [PATCH net-next 1/3] ipv4: add IP_RECVFRAGSIZE cmsg

2016-11-02 Thread Eric Dumazet
On Wed, 2016-11-02 at 11:02 -0400, Willem de Bruijn wrote: > From: Willem de Bruijn > > The IP stack records the largest fragment of a reassembled packet > in IPCB(skb)->frag_max_size. When reading a datagram or raw packet > that arrived fragmented, expose the value to allow applications to > est

[PATCH net-next 1/3] ipv4: add IP_RECVFRAGSIZE cmsg

2016-11-02 Thread Willem de Bruijn
From: Willem de Bruijn The IP stack records the largest fragment of a reassembled packet in IPCB(skb)->frag_max_size. When reading a datagram or raw packet that arrived fragmented, expose the value to allow applications to estimate receive path MTU. Tested: Sent data over a veth pair of which