Re: Netlink sockets problem in Fedora Core 8 2.6.23.1-42 Kernel



Hello ,

Netlink Support has been withdrawn in 2.6.23 . I had checked kernel
configuration file , "make menuconfig" , I could not find netlink
installed. Is there any way to introduce the netlink support in the
new kernel , is this advisable?
OR
should I revert back to 2.6.11?

On Apr 22, 12:48 am, Chris Cox <ccox_nopenott...@xxxxxxxxxxx> wrote:
kartik saxena wrote:
Hello ,

I am compiling a module for User - kernel interaction using netlink
sockets , I have my code ready , which ran on 2.4 series of kernels
about 2 years back.

i have to do the same for 2.6.XX series , i have the latest fedore 8
2.6.23 kernel .
The user space code compiled well , the kernel module is giving
trouble. with the following errors.

error : 'struct netlink_skb_parms' has no member named 'groups'
error : 'struct netlink_skb_parms' has no member named 'dst_pid'
error : 'struct netlink_skb_parms' has no member named 'dst_groups'

though this structure is well defined in netlink.h.  The macro
NETLINK_CB (skb) is also well defined.

anybody here used netlink sockets on a 2.6.x.x machine?

Not directly... but udev communicates using netlink.  Maybe you
can take a look at its source (?).- Hide quoted text -

- Show quoted text -

.



Relevant Pages

  • Re: [v4l-dvb-maintainer] [PATCH 35/36] Use menuconfig objects II - DVB
    ... testing of V4L/DVB patches by end users and developers and during driver ... inside the tree, unselecting the drivers that you're not working. ... the "use menuconfig objects" patches at the end. ... latest git kernel. ...
    (Linux-Kernel)
  • Re: Linux (RedHat) version number question
    ... And it was apparent to me that the filesystem I needed was ... I added this in menuconfig. ... found that tulip too is not loaded into the build by default. ... One goal is to build the latest 2.4 kernel source and then build into it the ...
    (linux.redhat)
  • Re: [PATCH] nconfig v5
    ... Building on menuconfig, this patch implements a more modern look interface using ... which is currently distributed with the kernel. ... The old menuconfig bottom menu was dropped in favor of function keys (which ...
    (Linux-Kernel)
  • Re: Compiling linux-source-2.6.17_2.6.17-5.16
    ... You choose the processor family early on in make menuconfig, ... the architecture for the build; i.e., ... configuration includes many driver modules and options you'll ... and maybe even a smaller/faster custom kernel. ...
    (Ubuntu)
  • Re: Adding modules for Intel 965 integrated video
    ... Good call Alan. ... I ran the 'make menuconfig' command here and the result was the following: ... downloaded the kernel sources? ...
    (RedHat)