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
History
File Mode Size
softmac
Kconfig -rw-r--r-- 2.0 KB
Makefile -rw-r--r-- 423 bytes
ieee80211_crypt.c -rw-r--r-- 5.2 KB
ieee80211_crypt_ccmp.c -rw-r--r-- 11.9 KB
ieee80211_crypt_tkip.c -rw-r--r-- 21.3 KB
ieee80211_crypt_wep.c -rw-r--r-- 7.3 KB
ieee80211_geo.c -rw-r--r-- 5.1 KB
ieee80211_module.c -rw-r--r-- 8.2 KB
ieee80211_rx.c -rw-r--r-- 49.9 KB
ieee80211_tx.c -rw-r--r-- 18.0 KB
ieee80211_wx.c -rw-r--r-- 22.9 KB

back to top