linux/net/irda
Pablo Neira Ayuso fd2120ca0d net: use NLMSG_DEFAULT_SIZE in nlmsg_new() allocations
nlmsg_new() adds the size of the netlink header to the value
that has been passed as parameter. If NLMSG_GOODSIZE is selected,
we request an allocation of one memory page plus the size of the
header. Instead, NLMSG_DEFAULT_SIZE should be used since it
already substracts the size of the Netlink header.

I have the impression that the similar naming in both constant
is error prone when using it with nlmsg_new(). This is already
documented in include/net/netlink.h

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-19 15:36:16 -07:00
..
ircomm proc tty: switch ircomm to ->proc_fops 2009-04-01 08:59:10 -07:00
irlan irlan: convert to net_device_ops 2009-03-21 19:19:16 -07:00
irnet
Kconfig
Makefile
af_irda.c
discovery.c
irda_device.c irda: net_device_ops ioctl fix 2009-03-21 19:19:14 -07:00
iriap.c
iriap_event.c
irias_object.c
irlap.c
irlap_event.c
irlap_frame.c
irlmp.c
irlmp_event.c
irlmp_frame.c
irmod.c net: convert usage of packet_type to read_mostly 2009-03-10 05:22:43 -07:00
irnetlink.c net: use NLMSG_DEFAULT_SIZE in nlmsg_new() allocations 2009-05-19 15:36:16 -07:00
irproc.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
irqueue.c
irsysctl.c
irttp.c
parameters.c
qos.c
timer.c
wrapper.c