changeset 12599:e591a2c08558

6887458 setsockopt for SO_SNDBUF/SO_RCVBUF with AF_INET_OFFLOAD (RDS) leads to a panic
author Ravi Chandra Nallan <Ravichandra.Nallan@Sun.COM>
date Fri, 11 Jun 2010 02:46:05 +0530
parents 0b0970facf04
children 25763e25fe19
files usr/src/uts/common/io/ib/clients/rds/rds_opt.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/ib/clients/rds/rds_opt.c	Thu Jun 10 07:59:36 2010 -0700
+++ b/usr/src/uts/common/io/ib/clients/rds/rds_opt.c	Fri Jun 11 02:46:05 2010 +0530
@@ -19,8 +19,8 @@
  * CDDL HEADER END
  */
 /*
- * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1990 Mentat Inc.
  */
 
 #include <sys/ib/clients/rds/rds.h>
@@ -131,7 +131,6 @@
 			}
 			if (!checkonly) {
 				q->q_hiwat = *i1;
-				q->q_next->q_hiwat = *i1;
 			}
 			break;
 		case SO_RCVBUF: