History

netfilter: ipv4: remove useless export_symbol

Only one caller; place it where needed and get rid of the EXPORT_SYMBOL.

Florian Westphal committed 7 years ago

Commit 83f52921 parent ac088a83 files · +19 −24Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/netfilter_ipv4.h+0−6
@@ -25,7 +25,6 @@ __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, · 24 unmodified lines
25 unsigned int dataoff, u_int8_t protocol);25 unsigned int dataoff, u_int8_t protocol);
26int nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl,26int nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl,
27 bool strict);27 bool strict);
28int nf_ip_reroute(struct sk_buff *skb, const struct nf_queue_entry *entry);
29#else28#else
30static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,29static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
31 unsigned int dataoff, u_int8_t protocol)30 unsigned int dataoff, u_int8_t protocol)
@@ -37,11 +36,6 @@ static inline int nf_ip_route(struct net *net, struct dst_entry **dst, · 5 unmodified lines
37{36{
38 return -EOPNOTSUPP;37 return -EOPNOTSUPP;
39}38}
40static inline int nf_ip_reroute(struct sk_buff *skb,
41 const struct nf_queue_entry *entry)
42{
43 return -EOPNOTSUPP;
44}
45#endif /* CONFIG_INET */39#endif /* CONFIG_INET */
46 40
47#endif /*__LINUX_IP_NETFILTER_H*/41#endif /*__LINUX_IP_NETFILTER_H*/

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t