commit | d9be4f7a6f5a8da3133b832eca41c3591420b1ca | [log] [tgz] |
---|---|---|
author | Bill Sommerfeld <wsommerfeld@google.com> | Tue Jul 19 15:22:33 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 21 21:31:41 2011 -0700 |
tree | 438012f22c81f3d109849a12a14acfbcf5bb9837 | |
parent | 2e66f55b3afa290337a47e6ea134ac071c5dd9a7 [diff] |
ipv4: Constrain UFO fragment sizes to multiples of 8 bytes Because the ip fragment offset field counts 8-byte chunks, ip fragments other than the last must contain a multiple of 8 bytes of payload. ip_ufo_append_data wasn't respecting this constraint and, depending on the MTU and ip option sizes, could create malformed non-final fragments. Google-Bug-Id: 5009328 Signed-off-by: Bill Sommerfeld <wsommerfeld@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>