On Mon, Nov 14, 2016 at 10:39:25PM +0800, Liping Zhang wrote: > From: Liping Zhang <zlpnobody@xxxxxxxxx> > > In netdev family, we will handle non ethernet packets, so using > eth_hdr(skb)->h_proto is incorrect. > > Meanwhile, we can use socket(AF_PACKET...) to sending packets, so > skb->protocol is not always set in bridge family. > > Add an extra parameter into nf_log_l2packet to solve this issue. Applied, thanks Liping. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html