summaryrefslogtreecommitdiffstats
path: root/lib/libcrc32c.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 01:43:56 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 10:51:21 -0800
commitd3b7f69de2b92e4b6057d81e6c52f629a8663368 (patch)
treead2ba9ef0cf024b3341b5eaf67929ee82b71701b /lib/libcrc32c.c
parent190c3e456325942a17785332fe15b68eeb3775ca (diff)
downloadblackbird-op-linux-d3b7f69de2b92e4b6057d81e6c52f629a8663368.tar.gz
blackbird-op-linux-d3b7f69de2b92e4b6057d81e6c52f629a8663368.zip
[PATCH] uml: add locking to network transport registration
The registration of host network transports needed some locking. The transport list itself is locked, but calls to the registration routines are not. This is compensated for by checking that a transport structure is not yet on any list. I also took the opportunity to const all fields in the transport structure except the list, which obviously can be modified. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud