Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Remove __noubsan from in6_clearscope()
details: https://anonhg.NetBSD.org/src/rev/47d8c63b89b5
branches: trunk
changeset: 454655:47d8c63b89b5
user: kamil <kamil%NetBSD.org@localhost>
date: Mon Sep 23 23:12:47 2019 +0000
description:
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
diffstat:
sys/netinet6/scope6.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 1736d0b2269c -r 47d8c63b89b5 sys/netinet6/scope6.c
--- a/sys/netinet6/scope6.c Mon Sep 23 23:06:26 2019 +0000
+++ b/sys/netinet6/scope6.c Mon Sep 23 23:12:47 2019 +0000
@@ -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 @@
* 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)
{
Home |
Main Index |
Thread Index |
Old Index