]> git.baikalelectronics.ru Git - kernel.git/commit
gre: Use inner_proto to obtain inner header protocol
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 5 Feb 2016 23:28:08 +0000 (15:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 13:55:34 +0000 (08:55 -0500)
commitd2ff325d9549246b07d80571a1921e285c8c6af5
tree2fdb20a0647dcdb4c0c921a4d2b1b45ff230abbf
parente1d5826195a9d95b6ff156be17874c24193fc79c
gre: Use inner_proto to obtain inner header protocol

Instead of parsing headers to determine the inner protocol we can just pull
the value from inner_proto.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/gre_offload.c