Commit:     483479ecc565b7f5845997138eddf5ecbc2684b1
Parent:     469de9b90f739f130ab3d483e819888e977596b8
Author:     Jarek Poplawski <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 9 14:38:31 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Jan 9 14:38:31 2007 -0800

    [IPV4] devinet: inetdev_init out label moved after RCU assignment
    inetdev_init out label moved after RCU assignment
    (final suggestion by Herbert Xu)
    Signed-off-by: Jarek Poplawski <[EMAIL PROTECTED]>
    Acked-by: Herbert Xu <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/ipv4/devinet.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index 25c8a42..480ace9 100644
--- a/net/ipv4/devinet.c
+++ b/net/ipv4/devinet.c
@@ -174,9 +174,10 @@ struct in_device *inetdev_init(struct net_device *dev)
        if (dev->flags & IFF_UP)
        /* we can receive as soon as ip_ptr is set -- do this last */
        rcu_assign_pointer(dev->ip_ptr, in_dev);
        return in_dev;
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