svn commit: r193684 - user/kmacy/releng_7_2_fcs/sys/net
Kip Macy
kmacy at FreeBSD.org
Mon Jun 8 04:52:08 UTC 2009
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;
}
}
More information about the svn-src-user
mailing list