Skip to content
  • Cong Wang's avatar
    sctp: fix a compile error in sctp.h · 1f07b62f
    Cong Wang authored
    I got the following compile error:
    
    In file included from include/net/sctp/checksum.h:46:0,
                     from net/ipv4/netfilter/nf_nat_proto_sctp.c:14:
    include/net/sctp/sctp.h: In function ‘sctp_dbg_objcnt_init’:
    include/net/sctp/sctp.h:370:88: error: parameter name omitted
    include/net/sctp/sctp.h: In function ‘sctp_dbg_objcnt_exit’:
    include/net/sctp/sctp.h:371:88: error: parameter name omitted
    
    which is caused by
    
    	commit 13d782f6
    
    
    	Author: Eric W. Biederman <ebiederm@xmission.com>
    	Date:   Mon Aug 6 08:45:15 2012 +0000
    
    	    sctp: Make the proc files per network namespace.
    
    This patch could fix it.
    
    Cc: David S. Miller <davem@davemloft.net>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Signed-off-by: default avatarCong Wang <amwang@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1f07b62f