net: avoid use IPCB in cipso_v4_error
authorNazarov Sergey <s-nazarov@yandex.ru>
Mon, 25 Feb 2019 16:27:15 +0000 (19:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 22:32:35 +0000 (14:32 -0800)
commit3da1ed7ac398f34fff1694017a07054d69c5f5c5
treeac42a19c628b81052191fa63e832e3aca6b84df2
parent9ef6b42ad6fd7929dd1b6092cb02014e382c6a91
net: avoid use IPCB in cipso_v4_error

Extract IP options in cipso_v4_error and use __icmp_send.

Signed-off-by: Sergey Nazarov <s-nazarov@yandex.ru>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/cipso_ipv4.c
net/ipv4/ip_options.c