On Fri, Feb 19, 2016 at 8:26 PM, Francesco Ruggeri <frugg...@arista.com> 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 it is recursively updated.
The problem with the patch is that it might force a pskb_expand_head in the most common cases. On the other hand if a loop is created then it may not be enough to undo the configuration and the tunnel device itself should be reinitialized. Anybody have a better suggestion? Thanks, Francesco