[Etherboot-developers] [PATCH 0/7] IPv4 fragmentation fixes
Brought to you by:
marty_connor,
stefanhajnoczi
From: Michal K. <mku...@su...> - 2011-11-16 14:34:33
|
These are fixes for some IPv4 fragmentation problems I've found when investigating problems of one of our customers with PXE boot of a Xen guest in presence of fragmented packets. Patches 1-3 are critical, 1 and 2 leading to memory corruption, 3 to wrong parsing of IPv4 header. Patches 4-6 resolve various memory leaks. Patch 7 is optional, it limits memory consumption under circumstances that shouldn't happen but are known to happen from time to time. Michal Kubecek (7): [ipv4] Check for buffer overflow when adding fragment [ipv4] Unlink frag_buffer from lists when before freeing [ipv4] Convert fragmentation header fields from NBO to HBO [ipv4] When freeing frag_buffer, free its io_buffer [ipv4] Free packet buffer when fragment isn't matched [ipv4] Free frag_buffer when its timer expires [ipv4] Limit number of fragment buffers src/include/gpxe/ip.h | 4 ++ src/net/ipv4.c | 86 ++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 82 insertions(+), 8 deletions(-) -- 1.7.7 |