tcp: Fix double sizeof in new tcp_metrics code
authorJulian Anastasov <ja@ssi.bg>
Tue, 30 Oct 2012 12:03:09 +0000 (12:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 15:59:08 +0000 (11:59 -0400)
commit2c42a3fb30845867bfcaf0747ff50c1375884ff2
treeca6a06d35c17bf3561fd9e0faef41f5e5cd54c6c
parent8f363b77ee4fbf7c3bbcf5ec2c5ca482d396d664
tcp: Fix double sizeof in new tcp_metrics code

Fix double sizeof when parsing IPv6 address from
user space because it breaks get/del by specific IPv6 address.

Problem noticed by David Binderman:

https://bugzilla.kernel.org/show_bug.cgi?id=49171

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_metrics.c