ip_tunnel: Fix off-by-one error in forming dev name.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 28 Mar 2013 08:21:46 +0000 (08:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2013 19:24:28 +0000 (15:24 -0400)
commit54a5d3828995c0df4f8e12a5d91b1c42f0f323d6
tree40d57f9ab4a605ef62ff6382cf35a3315cf67599
parent278150321a3f5af85803e1214807ca5cfbace0e1
ip_tunnel: Fix off-by-one error in forming dev name.

As Ben pointed out following patch fixes bug in checking device
name length limits while forming tunnel device name.

CC: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c