net/xfrm: use kmemdup rather than duplicating its implementation
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 7 Aug 2015 07:59:34 +0000 (09:59 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 11 Aug 2015 10:41:35 +0000 (12:41 +0200)
commitdf367561ffe5a66cd0b2970fdb8897d5487d38e6
tree7e2f80dcd117d09a9feb68fd8287361c6ce6f150
parenteae8dee992af622fd992cb2370cd596ac80ef141
net/xfrm: use kmemdup rather than duplicating its implementation

The patch was generated using fixed coccinelle semantic patch
scripts/coccinelle/api/memdup.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2014320

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_user.c