bind:cannot allocate memoey
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:cannt 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
|