Commit 2453a83f authored by David S. Miller's avatar David S. Miller

[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: default avatarDavid S. Miller <davem@redhat.com>
parent a91e59bd
...@@ -823,7 +823,7 @@ struct proto_ops inet_dgram_ops = { ...@@ -823,7 +823,7 @@ struct proto_ops inet_dgram_ops = {
.bind = inet_bind, .bind = inet_bind,
.connect = inet_dgram_connect, .connect = inet_dgram_connect,
.socketpair = sock_no_socketpair, .socketpair = sock_no_socketpair,
.accept = inet_accept, .accept = sock_no_accept,
.getname = inet_getname, .getname = inet_getname,
.poll = datagram_poll, .poll = datagram_poll,
.ioctl = inet_ioctl, .ioctl = inet_ioctl,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment