diff options
author | David S. Miller <davem@nuts.davemloft.net> | 2004-07-06 08:02:06 -0700 |
---|---|---|
committer | David S. Miller <davem@nuts.davemloft.net> | 2004-07-06 08:02:06 -0700 |
commit | 2453a83f2c4b5cb0ea6aba4192e60dadc1e52e96 (patch) | |
tree | 8b11fc250743596597547b0150074dd4e8128522 /net | |
parent | a91e59bdc054d1d989634ff4823cb2b80614c8ea (diff) | |
download | history-2453a83f2c4b5cb0ea6aba4192e60dadc1e52e96.tar.gz |
[IPV4]: Set UDP accept back to sock_no_accept.
Setting it to inet_accept causes UDP accept attempts
to OOPS. In particular, accept01 from LTP tries this.
Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/af_inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index aa46503d8629ef..ed2923791e0e60 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c @@ -823,7 +823,7 @@ struct proto_ops inet_dgram_ops = { .bind = inet_bind, .connect = inet_dgram_connect, .socketpair = sock_no_socketpair, - .accept = inet_accept, + .accept = sock_no_accept, .getname = inet_getname, .poll = datagram_poll, .ioctl = inet_ioctl, |