login
Header Space

 
 

bind + cannot allocate memory

August 5, 2007 - 1:54am
Submitted by prabhu_kush on August 5, 2007 - 1:54am.
Applications and Utilities

hi,

i am running a supplicant(open source). In this i am creating a netlink socket. after creation of socket when i am binding that socket with address. is shows following error

bind:Cannot allocate memory.

i had my own protocol for netlink socket creation.
s=(PF_NETLINK,SOCK_RAW,NETLINK_XYZ);

but if i use following netlink socket it works fie
s=(PF_NETLINK,SOCK_RAW,NETLINK_ROUTE);

PROBLEM IS AT BINDING TIME NOT DURING SOCKET CREATION.

i am using linux - 2.6.16. can you tell me why this is happening.

Thanks
Prabhakar

Your own protocol? WTF? It's

August 5, 2007 - 6:15am
Anonymous (not verified)

Your own protocol? WTF? It's probably a bug in *YOUR* code.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary