Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2009 04:52:07 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r193684 - user/kmacy/releng_7_2_fcs/sys/net
Message-ID:  <200906080452.n584q7em016275@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Mon Jun  8 04:52:07 2009
New Revision: 193684
URL: http://svn.freebsd.org/changeset/base/193684

Log:
  don't do gratuitous NULLing

Modified:
  user/kmacy/releng_7_2_fcs/sys/net/flowtable.c

Modified: user/kmacy/releng_7_2_fcs/sys/net/flowtable.c
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/net/flowtable.c	Mon Jun  8 04:39:47 2009	(r193683)
+++ user/kmacy/releng_7_2_fcs/sys/net/flowtable.c	Mon Jun  8 04:52:07 2009	(r193684)
@@ -609,8 +609,6 @@ flowtable_lookup(struct flowtable *ft, s
 	struct flowtable_stats *fs = &ft->ft_stats[curcpu];
 	
 	flags = ft->ft_flags;
-	ro->ro_rt = NULL;
-	ro->ro_lle = NULL;
 
 	/*
 	 * The internal hash lookup is the only IPv4 specific bit
@@ -699,7 +697,6 @@ uncached:
 
 		if (lle == NULL) {
 			RTFREE(rt);
-			ro->ro_rt = NULL;
 			return (ENOENT);
 		}
 		error = flowtable_insert(ft, hash, key, proto,
@@ -708,8 +705,6 @@ uncached:
 		if (error) {
 			RTFREE(rt);
 			LLE_FREE(lle);
-			ro->ro_rt = NULL;
-			ro->ro_lle = NULL;
 		}
 	} 
 



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