OSDN Git Service

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)
committerDmitry Shmidt <dimitrysh@google.com>
Mon, 1 May 2017 17:54:49 +0000 (17:54 +0000)
commit1f48a715af37ceffd86ee7a5f693dd2ca2dda892
treef8c1cb25513915a241e87baa65a7c3194db22802
parente4528dd775e8b236c0880895ae39ba8d1bce09e8
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