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)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 7 Apr 2016 11:19:56 +0000 (16:49 +0530)
commita9c7e0955a71e12167d763ef286c80acb5e5fb45
tree392a62a82ae9c362624173db1f92ef05f6a7676e
parent467971a1a728971f22d8642266bf6a8cb0ec6cb4
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