Prasad J Pandit 362786f14a net: check packet payload length
While computing IP checksum, 'net_checksum_calculate' reads
payload length from the packet. It could exceed the given 'data'
buffer size. Add a check to avoid it.

Reported-by: Liu Ling <liuling-it@360.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2016-03-08 15:34:18 +08:00
..
2016-03-08 15:34:18 +08:00
2016-02-23 12:43:05 +00:00
2016-03-08 15:34:09 +08:00
2016-02-23 12:43:05 +00:00