Re: [PATCH 1/2] ax25: Stop using sock->sk_protinfo.

2015-06-27 Thread David Miller
From: Ralf Baechle Date: Fri, 26 Jun 2015 23:43:05 +0200 > I have the big solution my queue which combines struct sock with ax25_cb > into struct ax25_sock but that's more complex because currently there is > the possibility for an ax25_cb to be created by an incoming connection > request even wi

Re: [PATCH 1/2] ax25: Stop using sock->sk_protinfo.

2015-06-26 Thread Ralf Baechle
On Thu, Jun 25, 2015 at 06:19:07AM -0700, David Miller wrote: > Just make a ax25_sock structure that provides the ax25_cb pointer. Nice minimal solution, thanks! I have the big solution my queue which combines struct sock with ax25_cb into struct ax25_sock but that's more complex because current

[PATCH 1/2] ax25: Stop using sock->sk_protinfo.

2015-06-25 Thread David Miller
Just make a ax25_sock structure that provides the ax25_cb pointer. Signed-off-by: David S. Miller --- include/net/ax25.h | 16 +++- net/ax25/af_ax25.c | 30 +++--- net/ax25/ax25_in.c |2 +- 3 files changed, 31 insertions(+), 17 deletions(-) diff --gi