From: Eric Dumazet Date: Sun, 15 May 2011 21:26:31 +0000 (+0000) Subject: net: ping: dont call udp_ioctl() X-Git-Tag: v3.0-rc1~377^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a8218e96271790a07dd7065a2ef173e0f67e328;p=pandora-kernel.git 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 CC: Vasiliy Kulikov Acked-by: Vasiliy Kulikov Signed-off-by: David S. Miller --- Reading git-diff-tree failed