Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Get rid of wrongly added TAILQ_INSERT_TAIL
details: https://anonhg.NetBSD.org/src/rev/60821f6a3b60
branches: trunk
changeset: 346437:60821f6a3b60
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Jul 13 03:19:29 2016 +0000
description:
Get rid of wrongly added TAILQ_INSERT_TAIL
diffstat:
sys/netinet/in.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 87853d0c1e28 -r 60821f6a3b60 sys/netinet/in.c
--- a/sys/netinet/in.c Wed Jul 13 00:19:01 2016 +0000
+++ b/sys/netinet/in.c Wed Jul 13 03:19:29 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in.c,v 1.173 2016/07/08 04:33:30 ozaki-r Exp $ */
+/* $NetBSD: in.c,v 1.174 2016/07/13 03:19:29 ozaki-r Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.173 2016/07/08 04:33:30 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.174 2016/07/13 03:19:29 ozaki-r Exp $");
#include "arp.h"
@@ -645,7 +645,6 @@
TAILQ_INSERT_TAIL(&in_ifaddrhead, ia, ia_list);
ifaref(&ia->ia_ifa);
ifa_insert(ifp, &ia->ia_ifa);
- TAILQ_INSERT_TAIL(&in_ifaddrhead, ia, ia_list);
IN_ADDRLIST_WRITER_INSERT_TAIL(ia);
LIST_INSERT_HEAD(&IN_IFADDR_HASH(ia->ia_addr.sin_addr.s_addr),
ia, ia_hash);
Home |
Main Index |
Thread Index |
Old Index