Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755841Ab2HODVj (ORCPT ); Tue, 14 Aug 2012 23:21:39 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:33105 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753502Ab2HODVg (ORCPT ); Tue, 14 Aug 2012 23:21:36 -0400 Message-ID: <502B15BD.1040904@gmail.com> Date: Tue, 14 Aug 2012 23:21:33 -0400 From: Vlad Yasevich User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: "Eric W. Biederman" CC: David Miller , linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Ariyasu , Jan Ariyasu , Neil Horman , Thomas Graf , Xi Wang Subject: Re: [PATCH net-next 0/7] sctp: network namespace support Part 2: per net tunables References: <1344115837-6150-1-git-send-email-jan.ariyasu@hp.com> <87mx27rig7.fsf@xmission.com> <87zk67q31q.fsf_-_@xmission.com> <87ipcud3ld.fsf_-_@xmission.com> In-Reply-To: <87ipcud3ld.fsf_-_@xmission.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2299 Lines: 56 On 08/07/2012 01:17 PM, Eric W. Biederman wrote: > > Since I am motivated to get things done, and since there has been much > grumbling about my patches not implementing tunables, I have added > tunable support on top of my last patchset. > > I have performed basic testing on the these patches and nothing > appears amis. > > The sm statemachine is a major tease as it has all of these association > and endpoint pointers in the common set of function parameters that turn > out to be NULL at the most inconvinient times. So I added to the common > parameter list a struct net pointer, that is never NULL. > > include/net/netns/sctp.h | 96 +++++++- > include/net/sctp/sctp.h | 16 +- > include/net/sctp/sm.h | 8 +- > include/net/sctp/structs.h | 126 +--------- > net/sctp/associola.c | 18 +- > net/sctp/auth.c | 20 ++- > net/sctp/bind_addr.c | 6 +- > net/sctp/endpointola.c | 13 +- > net/sctp/input.c | 6 +- > net/sctp/primitive.c | 4 +- > net/sctp/protocol.c | 137 +++++----- > net/sctp/sm_make_chunk.c | 61 +++-- > net/sctp/sm_sideeffect.c | 26 ++- > net/sctp/sm_statefuns.c | 631 ++++++++++++++++++++++++-------------------- > net/sctp/sm_statetable.c | 17 +- > net/sctp/socket.c | 92 ++++--- > net/sctp/sysctl.c | 200 ++++++++------ > net/sctp/transport.c | 23 +- > 18 files changed, 817 insertions(+), 683 deletions(-) > > Eric W. Biederman (7): > sctp: Add infrastructure for per net sysctls > sctp: Push struct net down to sctp_chunk_event_lookup > sctp: Push struct net down into sctp_transport_init > sctp: Push struct net down into sctp_in_scope > sctp: Push struct net down into all of the state machine functions > sctp: Push struct net down into sctp_verify_ext_param > sctp: Making sysctl tunables per net > > Eric > > Acked-by: Vlad Yasevich To this entire follow-on series. This is much better. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/