summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_log_netdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netfilter/nf_log_netdev.c')
-rw-r--r--net/netfilter/nf_log_netdev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/netfilter/nf_log_netdev.c b/net/netfilter/nf_log_netdev.c
index 1f645949f3d8..350eb147754d 100644
--- a/net/netfilter/nf_log_netdev.c
+++ b/net/netfilter/nf_log_netdev.c
@@ -23,7 +23,8 @@ static void nf_log_netdev_packet(struct net *net, u_int8_t pf,
const struct nf_loginfo *loginfo,
const char *prefix)
{
- nf_log_l2packet(net, pf, hooknum, skb, in, out, loginfo, prefix);
+ nf_log_l2packet(net, pf, skb->protocol, hooknum, skb, in, out,
+ loginfo, prefix);
}
static struct nf_logger nf_netdev_logger __read_mostly = {