Eric Dumazet 1a8218e962 net: ping: dont call udp_ioctl()
udp_ioctl() really handles UDP and UDPLite protocols.

1) It can increment UDP_MIB_INERRORS in case first_packet_length() finds
a frame with bad checksum.

2) It has a dependency on sizeof(struct udphdr), not applicable to
ICMP/PING

If ping sockets need to handle SIOCINQ/SIOCOUTQ ioctl, this should be
done differently.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Vasiliy Kulikov <segoon@openwall.com>
Acked-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-16 11:49:39 -04:00
..
2011-04-22 11:04:14 -07:00
2011-05-10 15:03:01 -07:00
2011-04-22 11:04:14 -07:00
2011-03-12 15:08:49 -08:00
2010-10-25 13:09:45 -07:00
2011-05-13 16:08:13 -04:00
2011-04-12 13:58:33 -07:00
2011-05-12 23:03:46 -04:00
2011-03-31 11:26:23 -03:00
2011-02-01 15:35:25 -08:00
2011-05-16 11:49:39 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-10-27 11:37:32 -07:00
2010-07-12 12:57:54 -07:00