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 |
---|---|---|
.gitignore | -rw-r--r-- | 6 bytes |
Kconfig | -rw-r--r-- | 6.5 KB |
Makefile | -rw-r--r-- | 764 bytes |
config_roms.c | -rw-r--r-- | 5.3 KB |
config_roms.h | -rw-r--r-- | 782 bytes |
csr.c | -rw-r--r-- | 25.9 KB |
csr.h | -rw-r--r-- | 2.6 KB |
csr1212.c | -rw-r--r-- | 42.2 KB |
csr1212.h | -rw-r--r-- | 28.1 KB |
dma.c | -rw-r--r-- | 6.0 KB |
dma.h | -rw-r--r-- | 2.8 KB |
dv1394-private.h | -rw-r--r-- | 16.9 KB |
dv1394.c | -rw-r--r-- | 72.6 KB |
dv1394.h | -rw-r--r-- | 10.2 KB |
eth1394.c | -rw-r--r-- | 48.0 KB |
eth1394.h | -rw-r--r-- | 6.6 KB |
highlevel.c | -rw-r--r-- | 15.6 KB |
highlevel.h | -rw-r--r-- | 7.8 KB |
hosts.c | -rw-r--r-- | 6.0 KB |
hosts.h | -rw-r--r-- | 6.3 KB |
ieee1394-ioctl.h | -rw-r--r-- | 3.5 KB |
ieee1394.h | -rw-r--r-- | 5.6 KB |
ieee1394_core.c | -rw-r--r-- | 33.7 KB |
ieee1394_core.h | -rw-r--r-- | 7.1 KB |
ieee1394_hotplug.h | -rw-r--r-- | 549 bytes |
ieee1394_transactions.c | -rw-r--r-- | 14.3 KB |
ieee1394_transactions.h | -rw-r--r-- | 2.4 KB |
ieee1394_types.h | -rw-r--r-- | 1.7 KB |
iso.c | -rw-r--r-- | 11.2 KB |
iso.h | -rw-r--r-- | 6.8 KB |
nodemgr.c | -rw-r--r-- | 50.7 KB |
nodemgr.h | -rw-r--r-- | 6.0 KB |
ohci1394.c | -rw-r--r-- | 107.0 KB |
ohci1394.h | -rw-r--r-- | 16.5 KB |
oui.db | -rw-r--r-- | 195.1 KB |
oui2c.sh | -rw-r--r-- | 277 bytes |
pcilynx.c | -rw-r--r-- | 52.3 KB |
pcilynx.h | -rw-r--r-- | 15.8 KB |
raw1394-private.h | -rw-r--r-- | 2.1 KB |
raw1394.c | -rw-r--r-- | 83.0 KB |
raw1394.h | -rw-r--r-- | 4.6 KB |
sbp2.c | -rw-r--r-- | 79.9 KB |
sbp2.h | -rw-r--r-- | 12.9 KB |
video1394.c | -rw-r--r-- | 42.2 KB |
video1394.h | -rw-r--r-- | 2.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...