diff options
author | Tom Herbert <therbert@google.com> | 2014-09-08 19:29:12 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-09 02:23:05 +0400 |
commit | 1e701f16982a9d15488a5aa8c7f5c41444b1de67 (patch) | |
tree | ffd2de95a203e68a1f070e80955738f1006dd826 /drivers | |
parent | db91b724b53b1cfd0e258d7cf3a03a062a89fe2d (diff) | |
download | linux-1e701f16982a9d15488a5aa8c7f5c41444b1de67.tar.xz |
net: Fix GRE RX to use skb_transport_header for GRE header offset
GRE assumes that the GRE header is at skb_network_header +
ip_hrdlen(skb). It is more general to use skb_transport_header
and this allows the possbility of inserting additional header
between IP and GRE (which is what we will done in Generic UDP
Encapsulation for GRE).
Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions