Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2014 20:22:13 +0000 (UTC)
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265288 - head/sys/netinet
Message-ID:  <201405032022.s43KMDDI051480@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: melifaro
Date: Sat May  3 20:22:13 2014
New Revision: 265288
URL: http://svnweb.freebsd.org/changeset/base/265288

Log:
  Fix panic on IPv4 address removal introduced in r265279.
  
  Reported by:	Trond Endrestøl
  MFC with:	r265279

Modified:
  head/sys/netinet/in_rmx.c

Modified: head/sys/netinet/in_rmx.c
==============================================================================
--- head/sys/netinet/in_rmx.c	Sat May  3 19:57:17 2014	(r265287)
+++ head/sys/netinet/in_rmx.c	Sat May  3 20:22:13 2014	(r265288)
@@ -441,6 +441,7 @@ in_ifadown(struct ifaddr *ifa, int delet
 
 	for ( fibnum = 0; fibnum < rt_numfibs; fibnum++) {
 		rnh = rt_tables_get_rnh(fibnum, AF_INET);
+		arg.rnh = rnh;
 		arg.ifa = ifa;
 		arg.del = delete;
 		RADIX_NODE_HEAD_LOCK(rnh);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405032022.s43KMDDI051480>