net: pppolac/pppopns: Add back the msg_flags
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Fri, 28 Apr 2017 18:53:04 +0000 (12:53 -0600)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 25 May 2017 11:07:25 +0000 (16:37 +0530)
commit9fccb20ef7db320eb43dcd77bd1bf7b16a8e581e
tree10f4451dae3fc3f88b9235209df303c2ca4dc279
parentce5b94017f050abe6a8a3f665c30fda1eaa85ce0
net: pppolac/pppopns: Add back the msg_flags

Commit 26fc40a09221330 ("net: pppolac/pppopns: Replace msg.msg_iov
with iov_iter_kvec()") removed the msg_flags when removing the
iov fields. This lead to problems with VPN data transfers.

Change-Id: Ib86ab3f927c5cf36cbad0bab501575999dc2b084
Fixes: 26fc40a09221330 ("net: pppolac/pppopns: Replace msg.msg_iov with
iov_iter_kvec()")
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
drivers/net/ppp/pppolac.c
drivers/net/ppp/pppopns.c