summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_metrics.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-11-05 09:50:33 -0800
committerOlof Johansson <olof@lixom.net>2012-11-05 09:50:33 -0800
commitc2d8c259bfce056437e8dbc4b048944050f9b567 (patch)
tree726e49653f7014bea034c59624ea23c21d6df13f /net/ipv4/tcp_metrics.c
parente4de6c961cc8b688443c7989ae3e38d0518334a5 (diff)
parente5c5f2adeb370559f4b221d57214db85858b786a (diff)
Merge branch 'devel/debug_ll_init' into next/multiplatform
* devel/debug_ll_init: ARM: implement debug_ll_io_init() + sync to Linux 3.7-rc4
Diffstat (limited to 'net/ipv4/tcp_metrics.c')
-rw-r--r--net/ipv4/tcp_metrics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_metrics.c b/net/ipv4/tcp_metrics.c
index 4c752a6e0bcd..53bc5847bfa8 100644
--- a/net/ipv4/tcp_metrics.c
+++ b/net/ipv4/tcp_metrics.c
@@ -864,7 +864,7 @@ static int parse_nl_addr(struct genl_info *info, struct inetpeer_addr *addr,
}
a = info->attrs[TCP_METRICS_ATTR_ADDR_IPV6];
if (a) {
- if (nla_len(a) != sizeof(sizeof(struct in6_addr)))
+ if (nla_len(a) != sizeof(struct in6_addr))
return -EINVAL;
addr->family = AF_INET6;
memcpy(addr->addr.a6, nla_data(a), sizeof(addr->addr.a6));