ipv4: warn once on passing AF_INET6 socket to ip_recv_error
authorWillem de Bruijn <willemb@google.com>
Mon, 1 Dec 2014 03:22:33 +0000 (22:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:20:48 +0000 (20:20 -0500)
commit7ce875e5ecb8562fd44040f69bda96c999e38bbc
tree6532ffa06ee9fbffb830bb1e348b9d5dc2d8f090
parent8d0c4697534a739725e429ff062dea393d8860d1
ipv4: warn once on passing AF_INET6 socket to ip_recv_error

One line change, in response to catching an occurrence of this bug.
See also fix f4713a3dfad0 ("net-timestamp: make tcp_recvmsg call ...")

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_sockglue.c