Tag: df367561ffe5a66cd0b2970fdb8897d5487d38e6

net/xfrm: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> 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 Signed-off-by: Steffen Klassert — net/xfrm/xfrm_user.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff –git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 0cebf1f..a8de9e3 100644 — a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -925,12 +925,10 @@ static int xfrm_dump_sa(struct sk_buff …

Continue reading