netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: "kobject: does not have a release()function, it is broken and must be fixed. -- POSSIBLE SOLUTION?
@ 2009-02-23  9:15 Giacomo
  0 siblings, 0 replies; only message in thread
From: Giacomo @ 2009-02-23  9:15 UTC (permalink / raw)
  To: netfilter-devel

Could it be I used sock_release() on the netlink socket instead of

netlink_kernel_release() call inside the module cleanup function()?

Thanks a lot.

Giacomo


---------- Forwarded message ----------
From: Giacomo <delleceste@gmail.com>
Date: 2009/2/23
Subject: "kobject: does not have a release()function, it is broken and
must be  fixed.
To: netfilter-devel <netfilter-devel@vger.kernel.org>


Good morning to all.

Can anyone explain what I have to do in my module to avoid this warning?
Is there any example?

I am currently implementing


static int __init ini(void)
{

}

static void __exit fini(void)
{
}

to initialize and cleanup module.

Thanks in advance.

Giacomo

--
Giacomo S.
http://www.giacomos.it

- - - - - - - - - - - - - - - - - - - - - -

* Aprile 2008: iqfire-wall, un progetto
 open source che implementa un
 filtro di pacchetti di rete per Linux,
 e` disponibile per il download qui:
 http://sourceforge.net/projects/ipfire-wall

* Informazioni e pagina web ufficiale:
 http://www.giacomos.it/iqfire/index.html

- - - - - - - - - - - - - - - - - - - - - -

 . ''  `.
:   :'    :
 `.  ` '
   `- Debian GNU/Linux -- The power of freedom
       http://www.debian.org



-- 
Giacomo S.
http://www.giacomos.it

- - - - - - - - - - - - - - - - - - - - - -

* Aprile 2008: iqfire-wall, un progetto
  open source che implementa un
  filtro di pacchetti di rete per Linux,
  e` disponibile per il download qui:
  http://sourceforge.net/projects/ipfire-wall

* Informazioni e pagina web ufficiale:
  http://www.giacomos.it/iqfire/index.html

- - - - - - - - - - - - - - - - - - - - - -

 . ''  `.
:   :'    :
 `.  ` '
    `- Debian GNU/Linux -- The power of freedom
        http://www.debian.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-23  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-23  9:15 Fwd: "kobject: does not have a release()function, it is broken and must be fixed. -- POSSIBLE SOLUTION? Giacomo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).