aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMax Laier <mlaier@FreeBSD.org>2005-08-30 16:43:24 +0000
committerMax Laier <mlaier@FreeBSD.org>2005-08-30 16:43:24 +0000
commiteb3ca228f44ba871e41496d5b7e15870df166c34 (patch)
tree82a7656066205e63d1a73ffbe7d30e1a505aa03e /sys/net
parent265a2cff6c790e45ff1568783084b1ccf05dd247 (diff)
Notes
Diffstat (limited to 'sys/net')
-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 55a66907703d..cb065731c00d 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)