[PATCH net] vxlan: interpret IP headers for ECN correctly

2015-12-07 Thread Jiri Benc
When looking for outer IP header, use the actual socket address family, not the address family of the default destination which is not set for metadata based interfaces (and doesn't have to match the address family of the received packet even if it was set). Fix also the misleading comment.

Re: [PATCH net] vxlan: interpret IP headers for ECN correctly

2015-12-07 Thread David Miller
From: Jiri Benc Date: Mon, 7 Dec 2015 16:29:08 +0100 > When looking for outer IP header, use the actual socket address family, not > the address family of the default destination which is not set for metadata > based interfaces (and doesn't have to match the address family of