svn commit: r264298 - stable/10/usr.sbin/IPXrouted

Gleb Smirnoff glebius at FreeBSD.org
Wed Apr 9 11:10:45 UTC 2014


Author: glebius
Date: Wed Apr  9 11:10:44 2014
New Revision: 264298
URL: http://svnweb.freebsd.org/changeset/base/264298

Log:
  Remove useless embedding of kernel struct rtentry into userland one.
  This is direct commit to stable/10.
  
  Sponsored by:	Nginx, Inc.

Modified:
  stable/10/usr.sbin/IPXrouted/table.h

Modified: stable/10/usr.sbin/IPXrouted/table.h
==============================================================================
--- stable/10/usr.sbin/IPXrouted/table.h	Wed Apr  9 10:58:52 2014	(r264297)
+++ stable/10/usr.sbin/IPXrouted/table.h	Wed Apr  9 11:10:44 2014	(r264298)
@@ -54,15 +54,10 @@ struct rthash {
 	struct	rt_entry *rt_back;
 };
 
-#ifdef RTM_ADD
-#define rtentry ortentry
-#endif
-
 struct rt_entry {
 	struct	rt_entry *rt_forw;
 	struct	rt_entry *rt_back;
 	union {
-		struct	rtentry rtu_rt;
 		struct  rtuentry {
 			u_long	rtu_hash;
 			struct	sockaddr rtu_dst;


More information about the svn-src-all mailing list