summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMax Laier <mlaier@FreeBSD.org>2005-08-23 14:13:17 +0000
committerMax Laier <mlaier@FreeBSD.org>2005-08-23 14:13:17 +0000
commit0bdf5171c856a1657a79c24f1fd3c36189d3f13a (patch)
treeca41f6a7c980776aba9c27549c27c64728297022 /sys
parente1bfde1b04eefc2d618b3dad4772659836356201 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_ethersubr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index eada2f90c7ee..2b3f7465032f 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -310,7 +310,8 @@ ether_output(struct ifnet *ifp, struct mbuf *m,
* on the wire). However, we don't do that here for security
* reasons and compatibility with the original behavior.
*/
- if ((ifp->if_flags & IFF_SIMPLEX) && (loop_copy != -1)) {
+ if ((ifp->if_flags & IFF_SIMPLEX) && (loop_copy != -1) &&
+ m_tag_find(m, PACKET_TAG_PF_ROUTED, NULL) == NULL) {
int csum_flags = 0;
if (m->m_pkthdr.csum_flags & CSUM_IP)