Commit:     2216b48376c40cf6984398d478a01b55e76c5434
Parent:     4a19ec5800fc3bb64e2d87c4d9fdd9e636086fe0
Author:     Benjamin Thery <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 19:09:35 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu Jan 31 19:27:20 2008 -0800

    [NETNS]: Add missing initialization of nl_info.nl_net in 
    Add missing initialization of the new nl_info.nl_net field in
    rtm_to_fib6_config(). This will be needed the store network namespace
    associated to the fib6_config struct.
    Signed-off-by: Benjamin Thery <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/ipv6/route.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 4004c5f..162cb66 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -1960,6 +1960,7 @@ static int rtm_to_fib6_config(struct sk_buff *skb, struct 
nlmsghdr *nlh,
        cfg-> = NETLINK_CB(skb).pid;
        cfg->fc_nlinfo.nlh = nlh;
+       cfg->fc_nlinfo.nl_net = skb->sk->sk_net;
        if (tb[RTA_GATEWAY]) {
                nla_memcpy(&cfg->fc_gateway, tb[RTA_GATEWAY], 16);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to