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
2525 unsigned int dataoff, u_int8_t protocol);
2626 int nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl,
2727 bool strict);
28−int nf_ip_reroute(struct sk_buff *skb, const struct nf_queue_entry *entry);
2928 #else
3029 static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
3130 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
3736 {
3837 return -EOPNOTSUPP;
3938 }
40−static inline int nf_ip_reroute(struct sk_buff *skb,
41− const struct nf_queue_entry *entry)
42−{
43− return -EOPNOTSUPP;
44−}
4539 #endif /* CONFIG_INET */
4640
4741 #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