Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Remove unnecessary pserialize_read_enter
details: https://anonhg.NetBSD.org/src/rev/cb09c8c49538
branches: trunk
changeset: 348415:cb09c8c49538
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Oct 18 02:46:21 2016 +0000
description:
Remove unnecessary pserialize_read_enter
diffstat:
sys/netinet6/icmp6.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r ea4111d3f6db -r cb09c8c49538 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c Tue Oct 18 02:45:41 2016 +0000
+++ b/sys/netinet6/icmp6.c Tue Oct 18 02:46:21 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: icmp6.c,v 1.197 2016/08/26 21:48:31 dholland Exp $ */
+/* $NetBSD: icmp6.c,v 1.198 2016/10/18 02:46:21 ozaki-r Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: icmp6.c,v 1.197 2016/08/26 21:48:31 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icmp6.c,v 1.198 2016/10/18 02:46:21 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1132,7 +1132,6 @@
sin6.sin6_family = PF_INET6;
sin6.sin6_len = sizeof(struct sockaddr_in6);
sin6.sin6_addr = *dst;
- s = pserialize_read_enter();
rcvif = m_get_rcvif(m, &s);
if (in6_setscope(&sin6.sin6_addr, rcvif, NULL)) {
m_put_rcvif(rcvif, &s);
Home |
Main Index |
Thread Index |
Old Index