From: Iyappan Subramanian <[email protected]>
Date: Mon, 17 Aug 2015 14:33:05 -0700
> + /* HW requires all header resides in the first buffer */
> + if (skb_is_nonlinear(skb) &&
> + (skb_headlen(skb) < hdr_len)) {
> + netdev_warn(ndev, "Headers are required to
> reside in header buffer\n");
> + dev_kfree_skb(skb);
> + return 0;
> + }
You can't just drop the packet in this situation.
Instead, you must at least try to linearize the header to fit your
needs.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html