Module Name: src
Committed By: kamil
Date: Mon Sep 23 23:12:47 UTC 2019
Modified Files:
src/sys/netinet6: scope6.c
Log Message:
Remove __noubsan from in6_clearscope()
The alignment issues for x86 should be handled by
- src/sys/arch/amd64/include/types.h r. 1.62 and
- src/sys/arch/i386/include/types.h r. 1.90
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/netinet6/scope6.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/netinet6/scope6.c
diff -u src/sys/netinet6/scope6.c:1.21 src/sys/netinet6/scope6.c:1.22
--- src/sys/netinet6/scope6.c:1.21 Fri Sep 20 14:53:24 2019
+++ src/sys/netinet6/scope6.c Mon Sep 23 23:12:47 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: scope6.c,v 1.21 2019/09/20 14:53:24 kamil Exp $ */
+/* $NetBSD: scope6.c,v 1.22 2019/09/23 23:12:47 kamil Exp $ */
/* $KAME$ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scope6.c,v 1.21 2019/09/20 14:53:24 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scope6.c,v 1.22 2019/09/23 23:12:47 kamil Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -472,7 +472,6 @@ in6_getscopename(const struct in6_addr *
* Just clear the embedded scope identifier. Return 0 if the original address
* is intact; return non 0 if the address is modified.
*/
-__noubsan
int
in6_clearscope(struct in6_addr *in6)
{