[NETNS][FRAGS]: Make the net.ipv4.ipfrag_timeout work in namespaces.
[safe/jmp/linux-2.6] / net / ipv4 / datagram.c
index 0301dd4..0c0c73f 100644 (file)
@@ -40,7 +40,7 @@ int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
 
        oif = sk->sk_bound_dev_if;
        saddr = inet->saddr;
-       if (MULTICAST(usin->sin_addr.s_addr)) {
+       if (ipv4_is_multicast(usin->sin_addr.s_addr)) {
                if (!oif)
                        oif = inet->mc_index;
                if (!saddr)