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: NAlexander Duyck <aduyck@mirantis.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录