diff options
author | Sachin Saxena <sachin.saxena@freescale.com> | 2013-03-04 10:24:13 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-03 21:28:26 (GMT) |
commit | 772bf4a78d23b9452c30de5a0a3f596ce3955edc (patch) | |
tree | e321eae8160b4f5467283fc7cb0405f2c5018008 /net | |
parent | b5a03e1244be91b05209d4a53973393f021dd999 (diff) | |
download | linux-fsl-qoriq-772bf4a78d23b9452c30de5a0a3f596ce3955edc.tar.xz |
net/ipv4: Exporting ip_rcv_options and ip_forward_options functions
Signed-off-by: Arun Pathak <arun.pathak@freescale.com>
Signed-off-by: Sachin Saxena <sachin.saxena@freescale.com>
Change-Id: I72177eea8206d9014838e0948a3a049a0b59735d
Reviewed-on: http://git.am.freescale.net:8181/876
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/ip_input.c | 3 | ||||
-rw-r--r-- | net/ipv4/ip_options.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index f1395a6..b007afb 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c @@ -264,7 +264,7 @@ int ip_local_deliver(struct sk_buff *skb) ip_local_deliver_finish); } -static inline bool ip_rcv_options(struct sk_buff *skb) +int ip_rcv_options(struct sk_buff *skb) { struct ip_options *opt; const struct iphdr *iph; @@ -312,6 +312,7 @@ static inline bool ip_rcv_options(struct sk_buff *skb) drop: return true; } +EXPORT_SYMBOL(ip_rcv_options); int sysctl_ip_early_demux __read_mostly = 1; EXPORT_SYMBOL(sysctl_ip_early_demux); diff --git a/net/ipv4/ip_options.c b/net/ipv4/ip_options.c index f6289bf..fd72bd0 100644 --- a/net/ipv4/ip_options.c +++ b/net/ipv4/ip_options.c @@ -604,6 +604,9 @@ void ip_forward_options(struct sk_buff *skb) ip_send_check(ip_hdr(skb)); } } +#ifdef CONFIG_AS_FASTPATH +EXPORT_SYMBOL(ip_forward_options); +#endif int ip_options_rcv_srr(struct sk_buff *skb) { |