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:12:47 +0000 (18:12 +0200)
commit6e32aa7149c1f3ae04fbfa6ec7ea01940a479ce5
tree443226925037f5993f2cddf174d0184c9d7cc08e
parentb6f194b64b11e897ba084778d626ce6f57a0563a
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