Subject: Re: [PATCH] cpts: add missing <linux/if_vlan.h>

From: Daniel Borkmann <[email-masked]>
Date: Sun, 06 Apr 2014 18:48:17 +0200

On 04/06/2014 01:55 PM, Sergei Trofimovich wrote:
> From: Sergei Trofimovich <[email-masked]>
>
> gcc complains as:
>      drivers/net/ethernet/ti/cpts.c: In function 'cpts_match':
>      drivers/net/ethernet/ti/cpts.c:266:12: error: 'ETH_HLEN' undeclared (first use in this function)
>      drivers/net/ethernet/ti/cpts.c:266:12: note: each undeclared identifier is reported only once for each function it appears in
>      drivers/net/ethernet/ti/cpts.c:276:23: error: 'VLAN_HLEN' undeclared (first use in this function)
>
> Signed-off-by: Sergei Trofimovich <[email-masked]>
> CC: "David S. Miller" <[email-masked]>
> CC: [email-masked]

Thanks, fix is already in net tree:

https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=79eb9d28c9b22fa419e2c3f1b2cc6e285720ae41