Re: xfrm_user reliability

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

 



Hello!

> The only problem now is that various NETLINK implementations do not
> always generate the overrun.  For example, if the netlink_ack() in
> xfrm_user.c fails to allocate memory nothing is returned.

It is definitely a big hole...


> I suppose the simplest solution is to get netlink_ack() to call
> netlink_overrun()?

Rather netlink_set_err(), which walks through socket table.
I think it is to be some new function, which sets overrun bit in socket
state as well.

Alexey
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux