Trying to compile the ethertap with CONFIG_ETHERTAP_MC enabled (which I was able to do in 2.2.14) in the latest kernel 2.3.99-pre9 I have learned a little about kernel internals.
When CONFIG_ETHERTAP_MC=1, there is an error in line 161 (in function set_multicast_list):
lp->nl->protinfo.af_netlink.groups = groups;
lp->nl is a pointer to a sock structure, af_netlink is a pointer to netlink_opt
(it used to be of type netlink_opt in 2.2.x) so I think the right expression is:
lp->nl->protinfo.af_netlink->groups = groups;
There is still a problem, being the definiton of netlink_opt hidden inside
Moving this definition to include/linux/netlink.h everything compiles and
seems to work (I'm not sure if the ethertap module really works, though. I
can config the device, but I am unable to make it work with the Macintosh
Maybe my experience is of interest to kernel developers.
I'm not suscribed so please mail me directly (email@example.com)
if you have any question or comment.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:12 EST