]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: rename ip_options_echo to __ip_options_echo()
authorEric Dumazet <edumazet@google.com>
Sat, 27 Sep 2014 16:50:55 +0000 (09:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Sep 2014 20:35:42 +0000 (16:35 -0400)
commit52e05ff04c425c1d6b0b3d7df38b0db252decf09
treedd10e0199c6627b0eb93340f35d88d122c01f2ab
parent9c4a4bca8e8ea7e9d9bb177634078d488f5a578d
ipv4: rename ip_options_echo to __ip_options_echo()

ip_options_echo() assumes struct ip_options is provided in &IPCB(skb)->opt
Lets break this assumption, but provide a helper to not change all call points.

ip_send_unicast_reply() gets a new struct ip_options pointer.

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