xen/netfront: don't cache skb_shinfo()
authorJuergen Gross <jgross@suse.com>
Thu, 9 Aug 2018 14:42:16 +0000 (16:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:14:42 +0000 (18:14 +0200)
commitaf3bd8d6a9efcb782d44e537dc391970e0d70fc7
treeaaf4796c40cee5de1d45d932b3efbe319d588b8a
parentfbf12e19c9f13374ded72893f34777c2fa41f75c
xen/netfront: don't cache skb_shinfo()

commit d472b3a6cf63cd31cae1ed61930f07e6cd6671b5 upstream.

skb_shinfo() can change when calling __pskb_pull_tail(): Don't cache
its return value.

Cc: stable@vger.kernel.org
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/xen-netfront.c