diff options
author | Haishuang Yan | 2019-07-24 14:00:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-08-09 17:52:30 +0200 |
commit | fdcefa46c5c22fdff4960c6bdabf245af667ceaf (patch) | |
tree | 791cb4fc71d066c9f1f7dcf5245af89343076efd /kernel/ksysfs.c | |
parent | ife: error out when nla attributes are empty (diff) | |
download | kernel-qcow2-linux-fdcefa46c5c22fdff4960c6bdabf245af667ceaf.tar.gz kernel-qcow2-linux-fdcefa46c5c22fdff4960c6bdabf245af667ceaf.tar.xz kernel-qcow2-linux-fdcefa46c5c22fdff4960c6bdabf245af667ceaf.zip |
ip6_gre: reload ipv6h in prepare_ip6gre_xmit_ipv6
[ Upstream commit 3bc817d665ac6d9de89f59df522ad86f5b5dfc03 ]
Since ip6_tnl_parse_tlv_enc_lim() can call pskb_may_pull()
which may change skb->data, so we need to re-load ipv6h at
the right place.
Fixes: 898b29798e36 ("ip6_gre: Refactor ip6gre xmit codes")
Cc: William Tu <u9012063@gmail.com>
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions