commit | ccfec9e5cb2d48df5a955b7bf47f7782157d3bc2 | [log] [tgz] |
---|---|---|
author | Paolo Abeni <pabeni@redhat.com> | Mon Sep 24 15:48:19 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 24 12:27:04 2018 -0700 |
tree | f2dd5acfe96ba9b9c424659e8a6eff96735c3ad4 | |
parent | d8e2262a5044c1a05b4da51e5d0976f10c487a9f [diff] |
ip_tunnel: be careful when accessing the inner header Cong noted that we need the same checks introduced by commit 76c0ddd8c3a6 ("ip6_tunnel: be careful when accessing the inner header") even for ipv4 tunnels. Fixes: c54419321455 ("GRE: Refactor GRE tunneling code.") Suggested-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>