Revision 3d8334def5cf831d2ed438aae021696a2faa4ddd authored by Oleg Nesterov on 29 October 2006, 15:57:16 UTC, committed by Linus Torvalds on 29 October 2006, 20:07:37 UTC
prepare_reply() adds GENL_HDRLEN to the payload (genlmsg_total_size()), but then it does genlmsg_put()->nlmsg_put(). This means we forget to reserve a room for 'struct nlmsghdr'. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Thomas Graf <tgraf@suug.ch> Cc: Andrew Morton <akpm@osdl.org> Cc: Shailabh Nagar <nagar@watson.ibm.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Jay Lan <jlan@sgi.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent d46a3d0
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.8 KB |
Makefile | -rw-r--r-- | 577 bytes |
addr.c | -rw-r--r-- | 3.8 KB |
addr.h | -rw-r--r-- | 603 bytes |
atm_misc.c | -rw-r--r-- | 2.6 KB |
atm_sysfs.c | -rw-r--r-- | 4.0 KB |
br2684.c | -rw-r--r-- | 21.7 KB |
clip.c | -rw-r--r-- | 24.7 KB |
common.c | -rw-r--r-- | 20.1 KB |
common.h | -rw-r--r-- | 1.5 KB |
ioctl.c | -rw-r--r-- | 3.6 KB |
ipcommon.c | -rw-r--r-- | 1.6 KB |
ipcommon.h | -rw-r--r-- | 514 bytes |
lec.c | -rw-r--r-- | 66.8 KB |
lec.h | -rw-r--r-- | 5.2 KB |
lec_arpc.h | -rw-r--r-- | 2.9 KB |
mpc.c | -rw-r--r-- | 39.1 KB |
mpc.h | -rw-r--r-- | 2.0 KB |
mpoa_caches.c | -rw-r--r-- | 14.9 KB |
mpoa_caches.h | -rw-r--r-- | 3.4 KB |
mpoa_proc.c | -rw-r--r-- | 7.3 KB |
pppoatm.c | -rw-r--r-- | 10.9 KB |
proc.c | -rw-r--r-- | 11.8 KB |
protocols.h | -rw-r--r-- | 379 bytes |
pvc.c | -rw-r--r-- | 3.5 KB |
raw.c | -rw-r--r-- | 1.9 KB |
resources.c | -rw-r--r-- | 9.4 KB |
resources.h | -rw-r--r-- | 984 bytes |
signaling.c | -rw-r--r-- | 7.0 KB |
signaling.h | -rw-r--r-- | 840 bytes |
svc.c | -rw-r--r-- | 15.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...