commit | 000ade8016400d93b4d7c89970d96b8c14773d45 | [log] [tgz] |
---|---|---|
author | Sultan Alsawaf <sultanxda@gmail.com> | Wed Jun 06 15:56:54 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 07 16:27:16 2018 -0400 |
tree | 4814bfa5cffd70ee44e9b34d56a9d0759d47484c | |
parent | 52acf73b6e9a6962045feb2ba5a8921da2201915 [diff] |
ip_tunnel: Fix name string concatenate in __ip_tunnel_create() By passing a limit of 2 bytes to strncat, strncat is limited to writing fewer bytes than what it's supposed to append to the name here. Since the bounds are checked on the line above this, just remove the string bounds checks entirely since they're unneeded. Signed-off-by: Sultan Alsawaf <sultanxda@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>