summaryrefslogtreecommitdiffstats
path: root/include/linux/parser.h
diff options
context:
space:
mode:
authorRoss Lagerwall <ross.lagerwall@citrix.com>2019-08-05 16:34:34 +0100
committerDavid S. Miller <davem@davemloft.net>2019-08-08 18:01:24 -0700
commit3a0233ddec554b886298de2428edb5c50a20e694 (patch)
tree33b2985d05e2169c6cd6a4695f73fcea75efbe2d /include/linux/parser.h
parent891584f48a9084ba462f10da4c6bb28b6181b543 (diff)
downloadcachepc-linux-3a0233ddec554b886298de2428edb5c50a20e694.tar.gz
cachepc-linux-3a0233ddec554b886298de2428edb5c50a20e694.zip
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 <ross.lagerwall@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/parser.h')
0 files changed, 0 insertions, 0 deletions