Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b359cd6e authored by Amit Pundir's avatar Amit Pundir Committed by John Stultz
Browse files

net: pppopns: pppolac: fix sendmsg function calls



Fix couple of sendmsg() calls to align with changes
from upstream commit 1b784140 "net: Remove iocb
argument from sendmsg and recvmsg".

Change-Id: I85bc46130af8decfa37abe65aec33053ed39f1b1
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent fde6abf2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ static void pppolac_xmit_core(struct work_struct *delivery_work)
			.msg_iovlen = 1,
			.msg_flags = MSG_NOSIGNAL | MSG_DONTWAIT,
		};
		sk_udp->sk_prot->sendmsg(NULL, sk_udp, &msg, skb->len);
		sk_udp->sk_prot->sendmsg(sk_udp, &msg, skb->len);
		kfree_skb(skb);
	}
	set_fs(old_fs);
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ static void pppopns_xmit_core(struct work_struct *delivery_work)
			.msg_iovlen = 1,
			.msg_flags = MSG_NOSIGNAL | MSG_DONTWAIT,
		};
		sk_raw->sk_prot->sendmsg(NULL, sk_raw, &msg, skb->len);
		sk_raw->sk_prot->sendmsg(sk_raw, &msg, skb->len);
		kfree_skb(skb);
	}
	set_fs(old_fs);