aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2017-01-20 20:29:46 +0000
committerThomas Gleixner <[email protected]>2017-01-23 09:02:47 +0000
commit8801b3fcb5744dc536272ba4ccfd6faca9b46705 (patch)
treeb8b168cd4b63967c7d97a3f0dec7ff941d525e16 /net/unix/af_unix.c
parentx86/microcode/AMD: Extend the container struct (diff)
downloadkernel-8801b3fcb5744dc536272ba4ccfd6faca9b46705.tar.gz
kernel-8801b3fcb5744dc536272ba4ccfd6faca9b46705.zip
x86/microcode/AMD: Rework container parsing
It was pretty clumsy before and the whole work of parsing the microcode containers was spread around the functions wrongly. Clean it up so that there's a main scan_containers() function which iterates over the microcode blob and picks apart the containers glued together. For each container, it calls a parse_container() helper which concentrates on one container only: sanity-checking, parsing, counting microcode patches in there, etc. It makes much more sense now and it is actually very readable. Oh, and we luvz a diffstat removing more crap than adding. Signed-off-by: Borislav Petkov <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions