diff options
Diffstat (limited to 'net/sctp/primitive.c')
| -rw-r--r-- | net/sctp/primitive.c | 17 | 
1 files changed, 5 insertions, 12 deletions
diff --git a/net/sctp/primitive.c b/net/sctp/primitive.c index 534c7eae9d1..ab8d9f96a17 100644 --- a/net/sctp/primitive.c +++ b/net/sctp/primitive.c @@ -23,16 +23,12 @@   * See the GNU General Public License for more details.   *   * You should have received a copy of the GNU General Public License - * along with GNU CC; see the file COPYING.  If not, write to - * the Free Software Foundation, 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * along with GNU CC; see the file COPYING.  If not, see + * <http://www.gnu.org/licenses/>.   *   * Please send any bug reports or fixes you make to the   * email address(es): - *    lksctp developers <lksctp-developers@lists.sourceforge.net> - * - * Or submit a bug report through the following website: - *    http://www.sf.net/projects/lksctp + *    lksctp developers <linux-sctp@vger.kernel.org>   *   * Written or modified by:   *    La Monte H.P. Yarroll <piggy@acm.org> @@ -40,9 +36,6 @@   *    Karl Knutson          <karl@athena.chicago.il.us>   *    Ardelle Fan	    <ardelle.fan@intel.com>   *    Kevin Gao             <kevin.gao@intel.com> - * - * Any bugs reported given to us we will try to fix... any fixes shared will - * be incorporated into the next SCTP release.   */  #include <linux/types.h> @@ -57,7 +50,7 @@  #define DECLARE_PRIMITIVE(name) \  /* This is called in the code as sctp_primitive_ ## name.  */ \ -int sctp_primitive_ ## name(struct sctp_association *asoc, \ +int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \  			    void *arg) { \  	int error = 0; \  	sctp_event_t event_type; sctp_subtype_t subtype; \ @@ -69,7 +62,7 @@ int sctp_primitive_ ## name(struct sctp_association *asoc, \  	state = asoc ? asoc->state : SCTP_STATE_CLOSED; \  	ep = asoc ? asoc->ep : NULL; \  	\ -	error = sctp_do_sm(event_type, subtype, state, ep, asoc, \ +	error = sctp_do_sm(net, event_type, subtype, state, ep, asoc,	\  			   arg, GFP_KERNEL); \  	return error; \  }  | 
