[PATCH] net/tap: Modified TAP BPF program as per the new Kernel-version upgrade requirements.

Stephen Hemminger stephen at networkplumber.org
Thu Jan 4 21:42:37 CET 2024


On Thu,  4 Jan 2024 22:57:56 +0530
madhuker.mythri at oracle.com wrote:

>  {
> -	void *data_end = (void *)(long)skb->data_end;
> -	void *data = (void *)(long)skb->data;
> -	__u16 proto = (__u16)skb->protocol;
> +    struct neth nh;
> +    struct net6h n6h;

Sloppy non-standard indentation.

And original code would work with tunnels, this won't


More information about the dev mailing list