* [PATCH] l2tp: session is an array not a pointer
@ 2012-10-25 15:22 Alan Cox
2012-10-26 7:47 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2012-10-25 15:22 UTC (permalink / raw)
To: netdev
From: Alan Cox <alan@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
net/l2tp/l2tp_netlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/l2tp/l2tp_netlink.c b/net/l2tp/l2tp_netlink.c
index 6c4cc12..bbba3a1 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
nla_put_u16(skb, L2TP_ATTR_MRU, session->mru)))
goto nla_put_failure;
- if ((session->ifname && session->ifname[0] &&
+ if ((session->ifname[0] &&
nla_put_string(skb, L2TP_ATTR_IFNAME, session->ifname)) ||
(session->cookie_len &&
nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] l2tp: session is an array not a pointer
2012-10-25 15:22 [PATCH] l2tp: session is an array not a pointer Alan Cox
@ 2012-10-26 7:47 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-10-26 7:47 UTC (permalink / raw)
To: alan; +Cc: netdev
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Thu, 25 Oct 2012 16:22:01 +0100
> From: Alan Cox <alan@linux.intel.com>
>
> Signed-off-by: Alan Cox <alan@linux.intel.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-26 7:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 15:22 [PATCH] l2tp: session is an array not a pointer Alan Cox
2012-10-26 7:47 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).