xen/netfront: don't cache skb_shinfo()
authorJuergen Gross <jgross@suse.com>
Thu, 9 Aug 2018 14:42:16 +0000 (16:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 16:41:58 +0000 (09:41 -0700)
commitd472b3a6cf63cd31cae1ed61930f07e6cd6671b5
treec4f7d53abd37850ebe576e2827943b481d86d19d
parent556fdd857fb1a855c5dc2369800acb89429c3cbb
xen/netfront: don't cache skb_shinfo()

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>
drivers/net/xen-netfront.c