diff options
author | glebius <glebius@FreeBSD.org> | 2012-07-02 19:44:18 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2012-07-02 19:44:18 +0000 |
commit | 6223b4d21b416cf6379fee6c7a63ddafa0d8c88a (patch) | |
tree | 1a1b353fcccca68bd5c82f51bfca79669ea5a62a /sys/netinet/ip_mroute.h | |
parent | dccf4b181e80e005034ef0e1aa8c3ebaa0e69fdc (diff) | |
download | FreeBSD-src-6223b4d21b416cf6379fee6c7a63ddafa0d8c88a.zip FreeBSD-src-6223b4d21b416cf6379fee6c7a63ddafa0d8c88a.tar.gz |
Remove route caching from IP multicast routing code. There is no
reason to do that, and also, cached route never got unreferenced,
which meant a reference leak.
Reviewed by: bms
Diffstat (limited to 'sys/netinet/ip_mroute.h')
-rw-r--r-- | sys/netinet/ip_mroute.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/ip_mroute.h b/sys/netinet/ip_mroute.h index c54c75a..e945b92 100644 --- a/sys/netinet/ip_mroute.h +++ b/sys/netinet/ip_mroute.h @@ -262,7 +262,6 @@ struct vif { u_long v_pkt_out; /* # pkts out on interface */ u_long v_bytes_in; /* # bytes in on interface */ u_long v_bytes_out; /* # bytes out on interface */ - struct route v_route; /* cached route */ }; #ifdef _KERNEL |