ip: constify ip_build_and_send_pkt() socket argument
authorEric Dumazet <edumazet@google.com>
Fri, 25 Sep 2015 14:39:16 +0000 (07:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 20:00:38 +0000 (13:00 -0700)
commitcfe673b0ae4754ffc051482f4a948b67ddbeec10
treec521e7c60858ec4b86ab8199e1717e9a9df44b1e
parentb83e3deb974ca2c11e21256fe602e517afb83247
ip: constify ip_build_and_send_pkt() socket argument

This function is used to build and send SYNACK packets,
possibly on behalf of unlocked listener socket.

Make sure we did not miss a write by making this socket const.

We no longer can use ip_select_ident() and have to either
set iph->id to 0 or directly call __ip_select_ident()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/ip_output.c