summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/common.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-05-15 21:26:31 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-16 11:49:39 -0400
commit1a8218e96271790a07dd7065a2ef173e0f67e328 (patch)
tree3bf2696f434e21c92809b4812fa34b57061ce783 /drivers/net/wireless/ath/ath9k/common.c
parent534ea99b063de7c30262a8e22f0ab44dd7d11a71 (diff)
downloadtalos-op-linux-1a8218e96271790a07dd7065a2ef173e0f67e328.tar.gz
talos-op-linux-1a8218e96271790a07dd7065a2ef173e0f67e328.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud