From: "Md. Islam" <[email protected]>
Date: Fri, 23 Mar 2018 02:43:16 -0400
> +#ifdef CONFIG_XDP_ROUTER
> + //if IP forwarding is enabled on the receiver, create xdp_buff
> + //from skb and call xdp_router_forward()
Never use C++ comments, only use C style.
> + if(is_forwarding_enabled(rcv)){
There must be a space between 'if' and the openning parenthesis. You need
to also have a space before the openning curly braces.
In fact this entire patch is full of coding style issues, please run your
changes through checkpatch.pl before resubmitting.