Unverified Commit 814d7b4c authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents f545d286 3b9bf1ad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -471,6 +471,10 @@ ppp_async_ioctl(struct ppp_channel *chan, unsigned int cmd, unsigned long arg)
	case PPPIOCSMRU:
		if (get_user(val, p))
			break;
		if (val > U16_MAX) {
			err = -EINVAL;
			break;
		}
		if (val < PPP_MRU)
			val = PPP_MRU;
		ap->mru = val;