6789770 NULL pointer dereference panic in ip_helper_share_conn()
diff --git a/usr/src/uts/common/fs/sockfs/sockcommon_subr.c b/usr/src/uts/common/fs/sockfs/sockcommon_subr.c
index a0bf299..b5d6ae9 100644
--- a/usr/src/uts/common/fs/sockfs/sockcommon_subr.c
+++ b/usr/src/uts/common/fs/sockfs/sockcommon_subr.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1367,6 +1367,13 @@
struct cred *cr, int32_t *rvalp)
{
switch (cmd) {
+ case SIOCSQPTR:
+ /*
+ * SIOCSQPTR is valid only when helper stream is created
+ * by the protocol.
+ */
+
+ return (EOPNOTSUPP);
case FIONBIO: {
int32_t value;