]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: Fix header size check for GSO case in recvmsg (af_packet)
authorMariusz Kozlowski <mk@lab.zgora.pl>
Mon, 8 Nov 2010 11:58:45 +0000 (11:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Nov 2010 19:06:46 +0000 (11:06 -0800)
commit1f18b7176e2e41fada24584ce3c80e9abfaca52b
tree4f5cc10413729e16e8965c81afba3ca953ff3642
parent7c13a0d9a1ac6875f6380763b947f4a5a016605f
net: Fix header size check for GSO case in recvmsg (af_packet)

Parameter 'len' is size_t type so it will never get negative.

Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c