inetpeer: get rid of ip_id_count
[deliverable/linux.git] / net / ipv4 / raw.c
index c04518f4850a4c0a3d1de182d75cb2a963c7f583..2c65160565e1a084b5ff13832cfdb80d50ba7d6c 100644 (file)
@@ -389,7 +389,7 @@ static int raw_send_hdrinc(struct sock *sk, struct flowi4 *fl4,
                iph->check   = 0;
                iph->tot_len = htons(length);
                if (!iph->id)
-                       ip_select_ident(skb, &rt->dst, NULL);
+                       ip_select_ident(skb, NULL);
 
                iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
        }
@@ -524,7 +524,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
        ipc.oif = sk->sk_bound_dev_if;
 
        if (msg->msg_controllen) {
-               err = ip_cmsg_send(sock_net(sk), msg, &ipc);
+               err = ip_cmsg_send(sock_net(sk), msg, &ipc, false);
                if (err)
                        goto out;
                if (ipc.opt)
This page took 0.024174 seconds and 5 git commands to generate.