Revision 0bacbe528e26422e424d110ebda4ec68ea0fd5eb authored by Al Viro on 02 February 2016, 02:28:05 UTC, committed by Al Viro on 20 February 2016, 05:15:51 UTC
It forgets kunmap() on a failure exit, but there's really no point keeping
the page kmapped at all - after all, what we are doing is a bunch of memcpy()
into the parts of page, so kmap_atomic()/kunmap_atomic() just around those
memcpy() is enough.

Spotted-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 0e9a7da
History
File Mode Size
Kconfig -rw-r--r-- 682 bytes
Makefile -rw-r--r-- 197 bytes
cfg.c -rw-r--r-- 11.8 KB
cfg.h -rw-r--r-- 163 bytes
driver-ops.h -rw-r--r-- 5.7 KB
ieee802154_i.h -rw-r--r-- 5.4 KB
iface.c -rw-r--r-- 19.3 KB
llsec.c -rw-r--r-- 24.7 KB
llsec.h -rw-r--r-- 3.2 KB
mac_cmd.c -rw-r--r-- 4.2 KB
main.c -rw-r--r-- 6.0 KB
mib.c -rw-r--r-- 5.5 KB
rx.c -rw-r--r-- 7.4 KB
trace.c -rw-r--r-- 153 bytes
trace.h -rw-r--r-- 6.4 KB
tx.c -rw-r--r-- 3.1 KB
util.c -rw-r--r-- 2.7 KB

back to top