commit | b0c21badf174eb00160f842398f3918d7b365853 | [log] [tgz] |
---|---|---|
author | David Vrabel <david.vrabel@citrix.com> | Wed Mar 04 11:14:48 2015 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 05 14:58:18 2015 -0500 |
tree | ecb76c714145e1306435ab184a182721d45f0852 | |
parent | 49d9991a18f9aae7b14abbd9c1cc87555330a769 [diff] |
xen-netback: refactor xenvif_handle_frag_list() When handling a from-guest frag list, xenvif_handle_frag_list() replaces the frags before calling the destructor to clean up the original (foreign) frags. Whilst this is safe (the destructor doesn't actually use the frags), it looks odd. Reorder the function to be less confusing. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>