On Donnerstag, 6. Oktober 2016 08:41:40 CET Linus Lüssing wrote:
@@ -1842,8 +1844,12 @@ static int batadv_iv_ogm_receive(struct sk_buff *skb,
packet_pos = skb->data + ogm_offset; ogm_packet = (struct batadv_ogm_packet *)packet_pos;
skb_set_network_header(skb, ogm_offset); }
skb_reset_network_header(skb);
kfree_skb(skb); return NET_RX_SUCCESS;
}
Why must we skb_reset_network_header before the kfree?
Kind regards, Sven