aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/ip_queue.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ipv4/netfilter/ip_queue.c b/net/ipv4/netfilter/ip_queue.c
index 82fda92e6b97..aaa3f5c56761 100644
--- a/net/ipv4/netfilter/ip_queue.c
+++ b/net/ipv4/netfilter/ip_queue.c
@@ -250,10 +250,8 @@ ipq_build_packet_message(struct ipq_queue_entry *entry, int *errp)
250 250
251 if (entry->info->indev && entry->skb->dev) { 251 if (entry->info->indev && entry->skb->dev) {
252 pmsg->hw_type = entry->skb->dev->type; 252 pmsg->hw_type = entry->skb->dev->type;
253 if (entry->skb->dev->hard_header_parse) 253 pmsg->hw_addrlen = dev_parse_header(entry->skb,
254 pmsg->hw_addrlen = 254 pmsg->hw_addr);
255 entry->skb->dev->hard_header_parse(entry->skb,
256 pmsg->hw_addr);
257 } 255 }
258 256
259 if (data_len) 257 if (data_len)