[NET]: Make sure sockets implement splice_read
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Fri, 15 Feb 2008 10:35:45 +0000 (02:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Feb 2008 10:35:45 +0000 (02:35 -0800)
commit997b37da1515c1620692521786a74af271664eb7
treeffd071fe5efb432228f5c915d1fd3c91e2439088
parent69c3683ca7fe066ecba9e8a0424c5abd258a5d58
[NET]: Make sure sockets implement splice_read

Fixes a segmentation fault when trying to splice from a non-TCP socket.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c