commit | b87fb39e399137257a6db3224ea854117e9486e9 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sun Aug 19 03:47:30 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 22 22:48:32 2012 -0700 |
tree | a4373882fec7b443510d3c5a20c5c16839d71ae1 | |
parent | ef8531b64c3e2443da52e9f05d74a988230eedc5 [diff] |
ipv6: gre: fix ip6gre_err() ip6gre_err() miscomputes grehlen (sizeof(ipv6h) is 4 or 8, not 40 as expected), and should take into account 'offset' parameter. Also uses pskb_may_pull() to cope with some fragged skbs Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Dmitry Kozlov <xeb@mail.ru> Signed-off-by: David S. Miller <davem@davemloft.net>