On Thursday 16 January 2014 01:39:21 Linus Lüssing wrote:
if ((struct ethhdr *)skb->data != eth_hdr(skb)) {
pr_warn("Upper device did not set the ethernet header
pointer correctly - adjusting\n");
skb_reset_mac_header(skb);
}
How about using ratelimit or else we end up with many log messages ?
Cheers, Marek