• Linus Torvalds's avatar
    Merge branch 'work.sock_recvmsg' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 1ed2d76e
    Linus Torvalds authored
    Pull kern_recvmsg reduction from Al Viro:
     "kernel_recvmsg() is a set_fs()-using wrapper for sock_recvmsg(). In
      all but one case that is not needed - use of ITER_KVEC for ->msg_iter
      takes care of the data and does not care about set_fs(). The only
      exception is svc_udp_recvfrom() where we want cmsg to be store into
      kernel object; everything else can just use sock_recvmsg() and be done
      with that.
    
      A followup converting svc_udp_recvfrom() away from set_fs() (and
      killing kernel_recvmsg() off) is *NOT* in here - I'd like to hear what
      netdev folks think of the approach proposed in that followup)"
    
    * 'work.sock_recvmsg' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      tipc: switch to sock_recvmsg()
      smc: switch to sock_recvmsg()
      ipvs: switch to sock_recvmsg()
      mISDN: switch to sock_recvmsg()
      drbd: switch to sock_recvmsg()
      lustre lnet_sock_read(): switch to sock_recvmsg()
      cfs2: switch to sock_recvmsg()
      ncpfs: switch to sock_recvmsg()
      dlm: switch to sock_recvmsg()
      svc_recvfrom(): switch to sock_recvmsg()
    1ed2d76e
server.c 16.8 KB