Module Name: src
Committed By: christos
Date: Mon Jan 1 16:14:30 UTC 2018
Modified Files:
src/sys/netinet: ip_output.c
Log Message:
Remove comment now that the getsockopt code passes the size.
To generate a diff of this commit:
cvs rdiff -u -r1.289 -r1.290 src/sys/netinet/ip_output.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet/ip_output.c
diff -u src/sys/netinet/ip_output.c:1.289 src/sys/netinet/ip_output.c:1.290
--- src/sys/netinet/ip_output.c:1.289 Sun Dec 31 19:51:36 2017
+++ src/sys/netinet/ip_output.c Mon Jan 1 11:14:30 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_output.c,v 1.289 2018/01/01 00:51:36 christos Exp $ */
+/* $NetBSD: ip_output.c,v 1.290 2018/01/01 16:14:30 christos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.289 2018/01/01 00:51:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.290 2018/01/01 16:14:30 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1331,8 +1331,6 @@ ip_ctloutput(int op, struct socket *so,
break;
case IP_PKTINFO:
- /* XXX these tests fail until size gets propagated */
- /* It needs to be passed through from the caller */
switch (sopt->sopt_size) {
case sizeof(int):
/* Linux compatibility */