[firefly] [PATCH] net: ipv4: netfilter: ip_tables Fix incorrect type in assignment

Matei Oprea eu at opreamatei.ro
Tue Apr 15 11:34:58 EEST 2014

ipt_entry should not be declared as a pure function because
it depends on global state.

Signed-off-by: Matei Oprea <eu at opreamatei.ro>
Cc: ROSEdu Kernel Community <firefly at lists.rosedu.org>
 net/ipv4/netfilter/ip_tables.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index 99e810f..855c0a9 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -278,7 +278,7 @@ static void trace_packet(const struct sk_buff *skb,
-static inline __pure
+static inline
 struct ipt_entry *ipt_next_entry(const struct ipt_entry *entry)
 	return (void *)entry + entry->next_offset;

More information about the firefly mailing list