diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-25 06:31:45 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-25 06:31:45 +0000 |
commit | 72474e836af34858cc9540adade3d2f8a2767244 (patch) | |
tree | 759c282664669c9561ea4c6d47391a8a91e7b002 | |
parent | 958f24596bb135b6fdf76f7f31402516df50be23 (diff) |
IF_DROP()
-rw-r--r-- | sys/net/if_gre.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index 5d8d63cf7c2..31e6c1be535 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gre.c,v 1.15 2001/06/25 06:30:22 angelos Exp $ */ +/* $OpenBSD: if_gre.c,v 1.16 2001/06/25 06:31:44 angelos Exp $ */ /* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */ /* @@ -182,6 +182,7 @@ gre_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, mtag = m_tag_get(PACKET_TAG_GRE, sizeof(struct ifnet *), M_NOWAIT); if (mtag == NULL) { + IF_DROP(&ifp->if_snd); m_freem(m); return (ENOBUFS); } |