skbuff: Use correct allocation in skb_copy_ubufs
authorKrishna Kumar <krkumar2@in.ibm.com>
Tue, 17 Jul 2012 02:05:29 +0000 (02:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2012 16:40:54 +0000 (09:40 -0700)
commit02756ed4a79f15e4f265c1f6fbc634ce9966f153
treede02844ec1d53bf8d269b5e5bf6fe6310df241ea
parent42f59967a091d012b358a532766fe4d53c6d3ba3
skbuff: Use correct allocation in skb_copy_ubufs

Use correct allocation flags during copy of user space fragments
to the kernel. Also "improve" couple of for loops.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c