vxlan: clean up extension handling on rx
authorJiri Benc <jbenc@redhat.com>
Tue, 16 Feb 2016 20:59:01 +0000 (21:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 04:52:12 +0000 (23:52 -0500)
commitf14ecebb3a4e83eb6233e0167aa4ba675c99e514
tree4fac306fea4e0c8dc07a8ce55f262271f7a87bcd
parent3288af0892e322b019a4c98810959b2a1c6dae7b
vxlan: clean up extension handling on rx

Bring the extension handling to a single place and move the actual handling
logic out of vxlan_udp_encap_recv as much as possible.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c