Files
linux/drivers/net/xen-netback
Ross Lagerwall b3410f0f85 xen/netback: Reset nr_frags before freeing skb
[ Upstream commit 3a0233ddec ]

At this point nr_frags has been incremented but the frag does not yet
have a page assigned so freeing the skb results in a crash. Reset
nr_frags before freeing the skb to prevent this.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-25 10:48:05 +02:00
..