OSDN Git Service

net: pppolac/pppopns: Replace msg.msg_iov with iov_iter_kvec()
authorGuenter Roeck <groeck@chromium.org>
Tue, 1 Mar 2016 17:44:17 +0000 (09:44 -0800)
committerGuenter Roeck <groeck@chromium.org>
Wed, 2 Mar 2016 19:22:53 +0000 (19:22 +0000)
commit26fc40a09221330c574fa9cc06d0175273022e44
tree4dc1c8e38e294a44b37eb1e1ef8e7e6deb897c3a
parentee1a8e0fc3cb6ac300a47abc4beb211b0db47389
net: pppolac/pppopns: Replace msg.msg_iov with iov_iter_kvec()

Commit 1af89c1ef3b6 ("Hack: net: PPPoPNS and PPPoLAC build fixes for 4.1")
fixed the build for PPPoPNS and PPPoLAC by re-introducing a field in
struct msghdr which was removed upstream. Re-introducing the field doesn't
get it used, so it is quite likely that the code never worked. Fix it up for
good.

Fixes: 1af89c1ef3b6 ("Hack: net: PPPoPNS and PPPoLAC build fixes for 4.1")
Signed-off-by: Guenter Roeck <groeck@chromium.org>
drivers/net/ppp/pppolac.c
drivers/net/ppp/pppopns.c
include/linux/socket.h