Skip to contentSkip to conversation

"kobject: does not have a release()function, it is broken and must be fixed. -- POSSIBLE SOLUTION?

DISCUSSION Giacomo 1 participant 1 message Feb 23, 2009 netfilter

lore
Share & tools
lore

Giacomo

author
#0 lore raw

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 <[email protected]>
Date: 2009/2/23
Subject: "kobject: does not have a release()function, it is broken and must be fixed.
To: netfilter-devel <[email protected]>

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

Signature · 21 lines
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