aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bridge/netfilter/ebt_ulog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebt_ulog.c b/net/bridge/netfilter/ebt_ulog.c
index 374bdcd77039..19063473c71f 100644
--- a/net/bridge/netfilter/ebt_ulog.c
+++ b/net/bridge/netfilter/ebt_ulog.c
@@ -156,7 +156,7 @@ static void ebt_ulog_packet(unsigned int hooknr, const struct sk_buff *skb,
156 nlh = nlmsg_put(ub->skb, 0, ub->qlen, 0, 156 nlh = nlmsg_put(ub->skb, 0, ub->qlen, 0,
157 size - NLMSG_ALIGN(sizeof(*nlh)), 0); 157 size - NLMSG_ALIGN(sizeof(*nlh)), 0);
158 if (!nlh) { 158 if (!nlh) {
159 kfree(ub->skb); 159 kfree_skb(ub->skb);
160 ub->skb = NULL; 160 ub->skb = NULL;
161 goto unlock; 161 goto unlock;
162 } 162 }