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-- | 16.5 KB |
Makefile | -rw-r--r-- | 2.0 KB |
abituguru.c | -rw-r--r-- | 51.0 KB |
adm1021.c | -rw-r--r-- | 13.0 KB |
adm1025.c | -rw-r--r-- | 18.3 KB |
adm1026.c | -rw-r--r-- | 55.8 KB |
adm1031.c | -rw-r--r-- | 30.4 KB |
adm9240.c | -rw-r--r-- | 22.4 KB |
asb100.c | -rw-r--r-- | 29.8 KB |
atxp1.c | -rw-r--r-- | 9.4 KB |
ds1621.c | -rw-r--r-- | 10.8 KB |
f71805f.c | -rw-r--r-- | 28.3 KB |
fscher.c | -rw-r--r-- | 20.2 KB |
fscpos.c | -rw-r--r-- | 19.3 KB |
gl518sm.c | -rw-r--r-- | 20.1 KB |
gl520sm.c | -rw-r--r-- | 22.6 KB |
hdaps.c | -rw-r--r-- | 16.2 KB |
hwmon-vid.c | -rw-r--r-- | 7.4 KB |
hwmon.c | -rw-r--r-- | 2.7 KB |
it87.c | -rw-r--r-- | 43.8 KB |
k8temp.c | -rw-r--r-- | 8.0 KB |
lm63.c | -rw-r--r-- | 19.9 KB |
lm70.c | -rw-r--r-- | 4.3 KB |
lm75.c | -rw-r--r-- | 9.2 KB |
lm75.h | -rw-r--r-- | 1.7 KB |
lm77.c | -rw-r--r-- | 13.3 KB |
lm78.c | -rw-r--r-- | 23.9 KB |
lm80.c | -rw-r--r-- | 19.5 KB |
lm83.c | -rw-r--r-- | 14.0 KB |
lm85.c | -rw-r--r-- | 52.0 KB |
lm87.c | -rw-r--r-- | 27.3 KB |
lm90.c | -rw-r--r-- | 23.6 KB |
lm92.c | -rw-r--r-- | 13.5 KB |
max1619.c | -rw-r--r-- | 10.8 KB |
pc87360.c | -rw-r--r-- | 46.2 KB |
sis5595.c | -rw-r--r-- | 24.5 KB |
smsc47b397.c | -rw-r--r-- | 8.2 KB |
smsc47m1.c | -rw-r--r-- | 18.4 KB |
smsc47m192.c | -rw-r--r-- | 21.2 KB |
via686a.c | -rw-r--r-- | 29.8 KB |
vt1211.c | -rw-r--r-- | 38.1 KB |
vt8231.c | -rw-r--r-- | 28.7 KB |
w83627ehf.c | -rw-r--r-- | 43.2 KB |
w83627hf.c | -rw-r--r-- | 45.6 KB |
w83781d.c | -rw-r--r-- | 50.8 KB |
w83791d.c | -rw-r--r-- | 38.4 KB |
w83792d.c | -rw-r--r-- | 55.0 KB |
w83l785ts.c | -rw-r--r-- | 9.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...