aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authorWojciech Macek <wma@FreeBSD.org>2022-01-25 09:10:44 +0000
committerWojciech Macek <wma@FreeBSD.org>2022-02-02 05:48:05 +0000
commit77223d98b6f84eea73191fd28d99d5b9ec0739f7 (patch)
tree0c03ca4941bafa6f4f0e0753faccebde0bfd7b65 /sys/netinet/ip_output.c
parent445ecc480c48c02ad89ee97a17c4aa797f464ac3 (diff)
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r--sys/netinet/ip_output.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index f203bc165e61..818d115d8a2d 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -82,7 +82,6 @@ __FBSDID("$FreeBSD$");
#include <netinet/in_var.h>
#include <netinet/ip_var.h>
#include <netinet/ip_options.h>
-#include <netinet/ip_mroute.h>
#include <netinet/udp.h>
#include <netinet/udp_var.h>
@@ -321,7 +320,6 @@ int
ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags,
struct ip_moptions *imo, struct inpcb *inp)
{
- MROUTER_RLOCK_TRACKER;
struct ip *ip;
struct ifnet *ifp = NULL; /* keep compiler happy */
struct mbuf *m0;
@@ -609,7 +607,6 @@ again:
* above, will be forwarded by the ip_input() routine,
* if necessary.
*/
- MROUTER_RLOCK();
if (V_ip_mrouter && (flags & IP_FORWARDING) == 0) {
/*
* If rsvp daemon is not running, do not
@@ -621,12 +618,10 @@ again:
imo = NULL;
if (ip_mforward &&
ip_mforward(ip, ifp, m, imo) != 0) {
- MROUTER_RUNLOCK();
m_freem(m);
goto done;
}
}
- MROUTER_RUNLOCK();
}
/*