svn commit: r247934 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Thu Mar 7 20:29:55 UTC 2013


Author: tuexen
Date: Thu Mar  7 20:29:54 2013
New Revision: 247934
URL: http://svnweb.freebsd.org/changeset/base/247934

Log:
  MFC r236450:
  
  Remove an unused parameter.

Modified:
  stable/8/sys/netinet/sctp_input.c
  stable/8/sys/netinet/sctputil.c
  stable/8/sys/netinet/sctputil.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/netinet/   (props changed)

Modified: stable/8/sys/netinet/sctp_input.c
==============================================================================
--- stable/8/sys/netinet/sctp_input.c	Thu Mar  7 20:26:51 2013	(r247933)
+++ stable/8/sys/netinet/sctp_input.c	Thu Mar  7 20:29:54 2013	(r247934)
@@ -4516,7 +4516,7 @@ __attribute__((noinline))
 		}
 		if (stcb == NULL) {
 			/* no association, so it's out of the blue... */
-			sctp_handle_ootb(m, iphlen, *offset, sh, inp, NULL,
+			sctp_handle_ootb(m, iphlen, *offset, sh, inp,
 			    vrf_id, port);
 			*offset = length;
 			if (locked_tcb) {
@@ -4554,7 +4554,7 @@ __attribute__((noinline))
 					SCTP_TCB_UNLOCK(locked_tcb);
 				}
 				sctp_handle_ootb(m, iphlen, *offset, sh, inp,
-				    NULL, vrf_id, port);
+				    vrf_id, port);
 				return (NULL);
 			}
 		} else {
@@ -5586,7 +5586,7 @@ sctp_common_input_processing(struct mbuf
 			 * NOT respond to any packet.. its OOTB.
 			 */
 			SCTP_TCB_UNLOCK(stcb);
-			sctp_handle_ootb(m, iphlen, offset, sh, inp, NULL,
+			sctp_handle_ootb(m, iphlen, offset, sh, inp,
 			    vrf_id, port);
 			goto out_now;
 		}
@@ -5630,7 +5630,7 @@ sctp_common_input_processing(struct mbuf
 		}
 		if (stcb == NULL) {
 			/* out of the blue DATA chunk */
-			sctp_handle_ootb(m, iphlen, offset, sh, inp, NULL,
+			sctp_handle_ootb(m, iphlen, offset, sh, inp,
 			    vrf_id, port);
 			goto out_now;
 		}
@@ -5699,7 +5699,7 @@ sctp_common_input_processing(struct mbuf
 			/*
 			 * We consider OOTB any data sent during asoc setup.
 			 */
-			sctp_handle_ootb(m, iphlen, offset, sh, inp, NULL,
+			sctp_handle_ootb(m, iphlen, offset, sh, inp,
 			    vrf_id, port);
 			SCTP_TCB_UNLOCK(stcb);
 			goto out_now;

Modified: stable/8/sys/netinet/sctputil.c
==============================================================================
--- stable/8/sys/netinet/sctputil.c	Thu Mar  7 20:26:51 2013	(r247933)
+++ stable/8/sys/netinet/sctputil.c	Thu Mar  7 20:29:54 2013	(r247934)
@@ -3994,7 +3994,7 @@ sctp_abort_an_association(struct sctp_in
 
 void
 sctp_handle_ootb(struct mbuf *m, int iphlen, int offset, struct sctphdr *sh,
-    struct sctp_inpcb *inp, struct mbuf *op_err, uint32_t vrf_id, uint16_t port)
+    struct sctp_inpcb *inp, uint32_t vrf_id, uint16_t port)
 {
 	struct sctp_chunkhdr *ch, chunk_buf;
 	unsigned int chk_length;
@@ -4049,7 +4049,7 @@ sctp_handle_ootb(struct mbuf *m, int iph
 	if ((SCTP_BASE_SYSCTL(sctp_blackhole) == 0) ||
 	    ((SCTP_BASE_SYSCTL(sctp_blackhole) == 1) &&
 	    (contains_init_chunk == 0))) {
-		sctp_send_abort(m, iphlen, sh, 0, op_err, vrf_id, port);
+		sctp_send_abort(m, iphlen, sh, 0, NULL, vrf_id, port);
 	}
 }
 

Modified: stable/8/sys/netinet/sctputil.h
==============================================================================
--- stable/8/sys/netinet/sctputil.h	Thu Mar  7 20:26:51 2013	(r247933)
+++ stable/8/sys/netinet/sctputil.h	Thu Mar  7 20:29:54 2013	(r247934)
@@ -200,7 +200,7 @@ sctp_abort_an_association(struct sctp_in
 
 void 
 sctp_handle_ootb(struct mbuf *, int, int, struct sctphdr *,
-    struct sctp_inpcb *, struct mbuf *, uint32_t, uint16_t);
+    struct sctp_inpcb *, uint32_t, uint16_t);
 
 int 
 sctp_connectx_helper_add(struct sctp_tcb *stcb, struct sockaddr *addr,


More information about the svn-src-all mailing list