lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 13 Dec 2006 17:38:52 -0800
From:	Sridhar Samudrala <sri@...ibm.com>
To:	David Miller <davem@...emloft.net>
Cc:	netdev@...r.kernel.org, lksctp-developers@...ts.sourceforge.net
Subject: Re: [PATCH 4/4][SCTP]: Change adaption -> adaptation as per the
	latest API draft.

On Wed, 2006-12-13 at 16:35 -0800, David Miller wrote:
> From: Sridhar Samudrala <sri@...ibm.com>
> Date: Wed, 13 Dec 2006 12:44:52 -0800
> 
> > diff --git a/include/linux/sctp.h b/include/linux/sctp.h
> > index 35108fe..d4f8656 100644
> > --- a/include/linux/sctp.h
> > +++ b/include/linux/sctp.h
> > @@ -180,7 +180,7 @@ typedef enum {
> >  	SCTP_PARAM_ERR_CAUSE		= __constant_htons(0xc003),
> >  	SCTP_PARAM_SET_PRIMARY		= __constant_htons(0xc004),
> >  	SCTP_PARAM_SUCCESS_REPORT	= __constant_htons(0xc005),
> > -	SCTP_PARAM_ADAPTION_LAYER_IND   = __constant_htons(0xc006),
> > +	SCTP_PARAM_ADAPTATION_LAYER_IND = __constant_htons(0xc006),
> >
> >  } sctp_param_t; /* enum */
> >
> 
> I don't care what the API draft says, you will break existing
> userspace applications by changing this define.
> 
> Please keep around a compatible define, and then add the new one.

These parameters are not used by user-space apps. They define the
parameters used by the protocol in SCTP headers that go on wire.

The kernel version of SCTP user-space API is present in
include/net/sctp/user.h and this patch does modify names of a socket
option, notification and fields in the associated structures.

But user-space should not use any SCTP kernel header files. It gets this
API via include/netinet/sctp.h that is included in lksctp-tools package.

This patch will not break any existing apps that use the
library/header-file from the released versions of lksctp-tools.

I will add compatible defines in the next release of lksctp-tools so
that it can be used with old apps as well as new apps that can use
the new names.

Thanks
Sridhar

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ