summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/switchofp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/switchofp.c b/sys/net/switchofp.c
index 9f20e84d4c4..4ecb3388575 100644
--- a/sys/net/switchofp.c
+++ b/sys/net/switchofp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: switchofp.c,v 1.15 2016/10/21 22:12:38 jsg Exp $ */
+/* $OpenBSD: switchofp.c,v 1.16 2016/10/23 11:56:51 rzalamena Exp $ */
/*
* Copyright (c) 2016 Kazuya GODA <goda@openbsd.org>
@@ -4633,9 +4633,6 @@ swofp_flow_entry_put_instructions(struct mbuf **m,
return (0);
failed:
- m_freem(*m);
- (*m) = NULL;
-
return (error);
}