net: move *skb_get_poff declarations into correct header
authorJiri Pirko <jiri@resnulli.us>
Tue, 12 May 2015 12:56:09 +0000 (14:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 19:19:45 +0000 (15:19 -0400)
Since these functions are defined in flow_dissector.c, move header
declarations from skbuff.h into flow_dissector.h

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
include/net/flow_dissector.h
net/core/filter.c
net/ethernet/eth.c

index e35c2b13d4347ab8b492360234e32015fd26d20c..17607ab9e7a278162b31d1472833361b0664d1e9 100644 (file)
@@ -3424,10 +3424,6 @@ struct sk_buff *skb_checksum_trimmed(struct sk_buff *skb,
                                     unsigned int transport_len,
                                     __sum16(*skb_chkf)(struct sk_buff *skb));
 
-u32 skb_get_poff(const struct sk_buff *skb);
-u32 __skb_get_poff(const struct sk_buff *skb, void *data,
-                  const struct flow_keys *keys, int hlen);
-
 /**
  * skb_head_is_locked - Determine if the skb->head is locked down
  * @skb: skb to check
index 118ae6926a728f73d4296d44d25162a627b83fa7..4570ccafe59d3b02fbecf3a91864908e94a0e8bd 100644 (file)
@@ -46,6 +46,9 @@ static inline __be32 skb_flow_get_ports(const struct sk_buff *skb,
 }
 
 u32 flow_hash_from_keys(struct flow_keys *keys);
+u32 skb_get_poff(const struct sk_buff *skb);
+u32 __skb_get_poff(const struct sk_buff *skb, void *data,
+                  const struct flow_keys *keys, int hlen);
 
 /* struct flow_keys_digest:
  *
index a831f193e2c77184fa3a116aed97c9b4b7a62ff7..6805717be6149ef9e12bc0c6ccc33f0d71e3e3e0 100644 (file)
@@ -36,6 +36,7 @@
 #include <net/netlink.h>
 #include <linux/skbuff.h>
 #include <net/sock.h>
+#include <net/flow_dissector.h>
 #include <linux/errno.h>
 #include <linux/timer.h>
 #include <asm/uaccess.h>
index 9045e2a1108f6bbb11196bff2dbca93892f519db..9332a0ab06987272fe1472bfc046ed04e082b947 100644 (file)
@@ -58,6 +58,7 @@
 #include <net/ipv6.h>
 #include <net/ip.h>
 #include <net/dsa.h>
+#include <net/flow_dissector.h>
 #include <linux/uaccess.h>
 
 __setup("ether=", netdev_boot_setup);