tcp: remove unaligned accesses from tcp_get_info()
authorEric Dumazet <edumazet@google.com>
Wed, 9 Nov 2016 19:24:22 +0000 (11:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2016 03:51:33 +0000 (22:51 -0500)
commitf522a5fcf6dbba92f05bee5bb07f70fa8e521ab2
treee70b9542b06fc479cd2c057ede31ca623f1b33e4
parentd401c1d1e824f8238c4da5f432151fad0945aeab
tcp: remove unaligned accesses from tcp_get_info()

After commit 6ed46d1247a5 ("sock_diag: align nlattr properly when
needed"), tcp_get_info() gets 64bit aligned memory, so we can avoid
the unaligned helpers.

Suggested-by: David Miller <davem@davemloft.net>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c