Re: [PATCH net-next 2/6] tunnels: PMTU discovery support for directly bridged IP packets

2020-08-03 Thread Stefano Brivio
On Mon, 3 Aug 2020 17:44:16 -0600 David Ahern wrote: > On 8/3/20 2:52 PM, Stefano Brivio wrote: > > @@ -461,6 +464,91 @@ static inline void iptunnel_xmit_stats(struct > > net_device *dev, int pkt_len) > > [...] > > > > +static inline int skb_tunnel_check_pmtu(struct sk_buff *skb, > > +

Re: [PATCH net-next 2/6] tunnels: PMTU discovery support for directly bridged IP packets

2020-08-03 Thread David Ahern
On 8/3/20 2:52 PM, Stefano Brivio wrote: > @@ -461,6 +464,91 @@ static inline void iptunnel_xmit_stats(struct net_device > *dev, int pkt_len) > } > } > > +/** > + * skb_tunnel_check_pmtu() - Check, update PMTU and trigger ICMP reply as > needed > + * @skb: Buffer being sent by encaps

[PATCH net-next 2/6] tunnels: PMTU discovery support for directly bridged IP packets

2020-08-03 Thread Stefano Brivio
It's currently possible to bridge Ethernet tunnels carrying IP packets directly to external interfaces without assigning them addresses and routes on the bridged network itself: this is the case for UDP tunnels bridged with a standard bridge or by Open vSwitch. PMTU discovery is currently broken w