Skip to content

Commit de3b58b

Browse files
j-c-hdavem330
authored andcommitted
l2tp: revert "l2tp: fix missing print session offset info"
Revert commit 820da53 ("l2tp: fix missing print session offset info"). The peer_offset parameter is removed. Signed-off-by: James Chapman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 863def1 commit de3b58b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/l2tp/l2tp_netlink.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,6 @@ static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq, int fl
761761

762762
if ((session->ifname[0] &&
763763
nla_put_string(skb, L2TP_ATTR_IFNAME, session->ifname)) ||
764-
(session->offset &&
765-
nla_put_u16(skb, L2TP_ATTR_OFFSET, session->offset)) ||
766764
(session->cookie_len &&
767765
nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len,
768766
&session->cookie[0])) ||

0 commit comments

Comments
 (0)