Date: Thu, 18 Dec 2008 09:59:24 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186275 - head/sys/net Message-ID: <200812180959.mBI9xOPf034205@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kmacy Date: Thu Dec 18 09:59:24 2008 New Revision: 186275 URL: http://svn.freebsd.org/changeset/base/186275 Log: if_rtdel is always called with the RADIX_NODE_HEAD lock held Modified: head/sys/net/if.c Modified: head/sys/net/if.c ============================================================================== --- head/sys/net/if.c Thu Dec 18 06:38:11 2008 (r186274) +++ head/sys/net/if.c Thu Dec 18 09:59:24 2008 (r186275) @@ -1120,7 +1120,7 @@ if_rtdel(struct radix_node *rn, void *ar return (0); err = rtrequest_fib(RTM_DELETE, rt_key(rt), rt->rt_gateway, - rt_mask(rt), rt->rt_flags, + rt_mask(rt), rt->rt_flags|RTF_RNH_LOCKED, (struct rtentry **) NULL, rt->rt_fibnum); if (err) { log(LOG_WARNING, "if_rtdel: error %d\n", err);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812180959.mBI9xOPf034205>