aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-09-01 15:25:04 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-02 04:03:49 -0400
commit3b401a81c0d50ea9c718cf837f62cc2e6e79cc30 (patch)
treecfb386a92521ae614fc8d76932461f26d14e9fa3 /net/ipv4
parentb2e4b3debc327a5b53d9622e0b1785eea2ea2aad (diff)
inet: inet_connection_sock_af_ops const
The function block inet_connect_sock_af_ops contains no data make it constant. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/tcp_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 3efbe94f022b..ce7d3b021ffc 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -1754,7 +1754,7 @@ int tcp_v4_tw_remember_stamp(struct inet_timewait_sock *tw)
1754 return 0; 1754 return 0;
1755} 1755}
1756 1756
1757struct inet_connection_sock_af_ops ipv4_specific = { 1757const struct inet_connection_sock_af_ops ipv4_specific = {
1758 .queue_xmit = ip_queue_xmit, 1758 .queue_xmit = ip_queue_xmit,
1759 .send_check = tcp_v4_send_check, 1759 .send_check = tcp_v4_send_check,
1760 .rebuild_header = inet_sk_rebuild_header, 1760 .rebuild_header = inet_sk_rebuild_header,