Re: undefined 'ip_local_deliver' in my KLM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 19, 2006 at 09:18:59PM -0700, Ming Chen wrote:

> Hi,

Hi Ming,

> In my KLM, I make a call to 'ip_local_deliver' and include net/ip.h in my
> source code.
> The make complains ip_local_deliver undefined. How do I resolve it ?

ip_local_deliver is not exported to modules.

For your local testing, you can add an EXPORT_SYMBOL(ip_local_deliver) 
to your kernel.

When submitting your module for review when it's ready for inclusion 
into the kernel you should also submit a patch adding this export.

> TIA,
> Ming

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux