fw/comm/msgb: Protect allocation routine with proper locking
authorSylvain Munaut <tnt@246tNt.com>
Sat, 4 Jun 2011 10:24:24 +0000 (12:24 +0200)
committerSylvain Munaut <tnt@246tNt.com>
Sat, 25 Jun 2011 20:29:09 +0000 (22:29 +0200)
commit5907bfd39ac3fe7e7b7e94e03d8d43ee99852e86
treef1c9f9721aaf17965f48699563b6f0bb2c0801d5
parentfc16cbb578c7dcacf9d6dfc45625b4233570b659
fw/comm/msgb: Protect allocation routine with proper locking

Credits to Andreas Eversberg for finding this bug after countless
hours of debug :)

Written-by: Andreas Eversberg <jolly@eversberg.eu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
src/target/firmware/comm/msgb.c