Paolo Abeni 91ed1e666a ip/options: explicitly provide net ns to __ip_options_echo()
__ip_options_echo() uses the current network namespace, and
currently retrives it via skb->dst->dev.

This commit adds an explicit 'net' argument to __ip_options_echo()
and update all the call sites to provide it, usually via a simpler
sock_net().

After this change, __ip_options_echo() no more needs to access
skb->dst and we can drop a couple of hack to preserve such
info in the rx path.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-06 20:51:12 -07:00
..
2017-05-21 13:42:36 -04:00
2017-01-13 22:37:16 -05:00
2017-06-15 12:12:40 -04:00
2017-07-31 14:37:50 -07:00
2017-07-31 14:37:49 -07:00
2017-05-21 13:42:36 -04:00
2017-07-31 14:37:49 -07:00
2017-07-31 14:37:50 -07:00
2017-08-03 21:37:30 -07:00
2017-07-29 14:19:03 -07:00
2017-02-15 11:04:11 +01:00
2017-07-18 11:13:41 -07:00
2017-01-10 10:57:12 +01:00
2013-05-31 17:19:05 -07:00