summaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
authorMaciej Żenczykowski2012-03-11 13:51:50 +0100
committerDavid S. Miller2012-03-12 03:11:22 +0100
commit43db362d3adda9e0a915ddb9a8d1a41186e19179 (patch)
tree83f00b1c09a4f54c43f94da7afb3064923415394 /net/ipv4/icmp.c
parentipv6: Fix Smatch warning. (diff)
downloadkernel-qcow2-linux-43db362d3adda9e0a915ddb9a8d1a41186e19179.tar.gz
kernel-qcow2-linux-43db362d3adda9e0a915ddb9a8d1a41186e19179.tar.xz
kernel-qcow2-linux-43db362d3adda9e0a915ddb9a8d1a41186e19179.zip
net: get rid of some pointless casts to sockaddr
The following 4 functions: move_addr_to_kernel move_addr_to_user verify_iovec verify_compat_iovec are always effectively called with a sockaddr_storage. Make this explicit by changing their signature. This removes a large number of casts from sockaddr_storage to sockaddr. Signed-off-by: Maciej Żenczykowski <maze@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/icmp.c')
0 files changed, 0 insertions, 0 deletions