Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xen/netback: Reset nr_frags before freeing skb
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information