Re: [PATCH 1/1] net-next: do not store needed_headroom in ip_tunnel_xmit

2016-02-20 Thread Francesco Ruggeri
On Fri, Feb 19, 2016 at 8:26 PM, Francesco Ruggeri wrote: > Misconfigurations can result in local tunnel loops being created. > __dev_queue_xmit catches packets caught in a loop and drops them, > but the affected tunnels' needed_headroom can be corrupted in the > process as

[PATCH 1/1] net-next: do not store needed_headroom in ip_tunnel_xmit

2016-02-19 Thread Francesco Ruggeri
Misconfigurations can result in local tunnel loops being created. __dev_queue_xmit catches packets caught in a loop and drops them, but the affected tunnels' needed_headroom can be corrupted in the process as it is recursively updated. The script below can be used to create a loop between two