commit | 28e8190d2fb3918b5d46acafeb1968cd26e30dad | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sat Aug 20 08:54:15 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 20 19:11:33 2016 -0700 |
tree | 125705e420781a355423c14d6c159f21e059612d | |
parent | 4825a4e42c7e61520038c7d7d3efb4ffbbbd7091 [diff] |
tun: Use memdup_user() rather than duplicating its implementation Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Shmulik Ladkani <shmulik.ladkani@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>