Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay L2

From: James Chapman
Date: Thu Sep 29 2016 - 11:39:50 EST


On 29/09/16 03:36, R. Parameswaran wrote:
> I agree that something like 2. below would be needed in the long run (it
> will need some effort and redesign -e.g. how do I lookup the parent tunnel
> from the socket when receiving a PMTU update, existing pointer chain runs
> from tunnel to socket).
>> 2) Add code to handle PMTU events that land on the UDP tunnel
>> socket.

Another function pointer could be added to struct udp_sock, similar to
encap_rcv, such that the pmtu event could be handled by the UDP encap
protocol implementation.

James