Re: [PATCH net-next] tcp: remove unaligned accesses from tcp_get_info()

2016-11-09 Thread David Miller
From: Eric Dumazet Date: Wed, 09 Nov 2016 11:24:22 -0800 > From: Eric Dumazet > > 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 > Signed-off-by: Er

Re: [PATCH net-next] tcp: remove unaligned accesses from tcp_get_info()

2016-11-09 Thread Yuchung Cheng
On Wed, Nov 9, 2016 at 11:24 AM, Eric Dumazet wrote: > > From: Eric Dumazet > > 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 > Signed-off-by: Eric Du

Re: [PATCH net-next] tcp: remove unaligned accesses from tcp_get_info()

2016-11-09 Thread Soheil Hassas Yeganeh
On Wed, Nov 9, 2016 at 2:24 PM, Eric Dumazet wrote: > > From: Eric Dumazet > > 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 > Signed-off-by: Eric Dum