Skip to content

Commit e60d803

Browse files
j-c-hZhengShunQian
authored andcommitted
l2tp: revert "l2tp: fix missing print session offset info"
commit de3b58b upstream. 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]> Cc: Guillaume Nault <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 469429d commit e60d803

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
@@ -732,8 +732,6 @@ static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq, int fl
732732

733733
if ((session->ifname[0] &&
734734
nla_put_string(skb, L2TP_ATTR_IFNAME, session->ifname)) ||
735-
(session->offset &&
736-
nla_put_u16(skb, L2TP_ATTR_OFFSET, session->offset)) ||
737735
(session->cookie_len &&
738736
nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len,
739737
&session->cookie[0])) ||

0 commit comments

Comments
 (0)