summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-07-27 11:00:00 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-27 13:34:53 -0700
commit92ea4a7eec7289468ac8de5386f4b13d9c210cb5 (patch)
tree60ffe7bf60fa0277f8e4dd7be0024c7e7dc6a2c8 /include/uapi
parent1998b5ed9c9bba5369e7c3659fc8a2e468e62bea (diff)
downloadlinux-stable-92ea4a7eec7289468ac8de5386f4b13d9c210cb5.tar.gz
linux-stable-92ea4a7eec7289468ac8de5386f4b13d9c210cb5.tar.bz2
linux-stable-92ea4a7eec7289468ac8de5386f4b13d9c210cb5.zip
l2tp: drop ->mru from struct l2tp_session
This field is not used. Treat PPPIOC*MRU the same way as PPPIOC*FLAGS: "get" requests return 0, while "set" requests vadidate the user supplied pointer but discard its value. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/l2tp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/l2tp.h b/include/uapi/linux/l2tp.h
index 41bf79a4b165..8bb8c7cfabe5 100644
--- a/include/uapi/linux/l2tp.h
+++ b/include/uapi/linux/l2tp.h
@@ -120,7 +120,7 @@ enum {
L2TP_ATTR_UDP_SPORT, /* u16 */
L2TP_ATTR_UDP_DPORT, /* u16 */
L2TP_ATTR_MTU, /* u16 */
- L2TP_ATTR_MRU, /* u16 */
+ L2TP_ATTR_MRU, /* u16 (not used) */
L2TP_ATTR_STATS, /* nested */
L2TP_ATTR_IP6_SADDR, /* struct in6_addr */
L2TP_ATTR_IP6_DADDR, /* struct in6_addr */