svn commit: r235704 - stable/8/sys/netinet6

Bjoern A. Zeeb bz at FreeBSD.org
Sun May 20 22:58:38 UTC 2012


Author: bz
Date: Sun May 20 22:58:37 2012
New Revision: 235704
URL: http://svn.freebsd.org/changeset/base/235704

Log:
  MFC r232514:
  
   In nd6_options() ignore the RFC 6106 options completely rather than printing
   them if nd6_debug is enabled as unknown.  Leave a comment about the RFC4191
   option as I am undecided so far.

Modified:
  stable/8/sys/netinet6/nd6.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/netinet6/nd6.c
==============================================================================
--- stable/8/sys/netinet6/nd6.c	Sun May 20 22:55:24 2012	(r235703)
+++ stable/8/sys/netinet6/nd6.c	Sun May 20 22:58:37 2012	(r235704)
@@ -370,6 +370,14 @@ nd6_options(union nd_opts *ndopts)
 			ndopts->nd_opts_pi_end =
 				(struct nd_opt_prefix_info *)nd_opt;
 			break;
+		/* What about ND_OPT_ROUTE_INFO? RFC 4191 */
+		case ND_OPT_RDNSS:	/* RFC 6106 */
+		case ND_OPT_DNSSL:	/* RFC 6106 */
+			/*
+			 * Silently ignore options we know and do not care about
+			 * in the kernel.
+			 */
+			break;
 		default:
 			/*
 			 * Unknown options must be silently ignored,


More information about the svn-src-stable-8 mailing list