diff options
author | Alan Cox <alan@linux.intel.com> | 2012-10-25 01:22:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-26 03:46:41 -0400 |
commit | e269ed26d4c9e6da1614709c1bf4c50ff8c8c5b3 (patch) | |
tree | 9449f4e9971758d9b787b88bfbffbd8f24ff218f /net/l2tp/l2tp_netlink.c | |
parent | 0f15b1511ad2e82a6b422d275c369e92242854e6 (diff) |
l2tp: session is an array not a pointer
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_netlink.c')
-rw-r--r-- | net/l2tp/l2tp_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_netlink.c b/net/l2tp/l2tp_netlink.c index 6c4cc12c7414..bbba3a19e944 100644 --- a/net/l2tp/l2tp_netlink.c +++ b/net/l2tp/l2tp_netlink.c | |||
@@ -632,7 +632,7 @@ static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq, int fl | |||
632 | nla_put_u16(skb, L2TP_ATTR_MRU, session->mru))) | 632 | nla_put_u16(skb, L2TP_ATTR_MRU, session->mru))) |
633 | goto nla_put_failure; | 633 | goto nla_put_failure; |
634 | 634 | ||
635 | if ((session->ifname && session->ifname[0] && | 635 | if ((session->ifname[0] && |
636 | nla_put_string(skb, L2TP_ATTR_IFNAME, session->ifname)) || | 636 | nla_put_string(skb, L2TP_ATTR_IFNAME, session->ifname)) || |
637 | (session->cookie_len && | 637 | (session->cookie_len && |
638 | nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len, | 638 | nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len, |