For whoever wants to fix an unused variable in netfilter

Raphael S Carvalho raphael.scarv at gmail.com
Sat May 31 02:45:29 EDT 2014


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!

-- 
Raphael S. Carvalho



More information about the Kernelnewbies mailing list