For whoever wants to fix an unused variable in netfilter

Luca Ellero lroluk at gmail.com
Tue Jun 3 08:27:00 EDT 2014


Il 31/05/2014 08:45, Raphael S Carvalho write:
> net/netfilter/nfnetlink.c: In function 'nfnetlink_rcv':
> net/netfilter/nfnetlink.c:363:14: warning: unused variable 'net'
> [-Wunused-variable]
>    struct net *net = sock_net(skb->sk);
>                ^
>
> Have fun!
>

It's already fixed in linux-next (commit 
a64d90fd962c2956da7505f98a302408450365e2)
Regards
Luca Ellero



More information about the Kernelnewbies mailing list