Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9537dda4 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "kernel: changes to enable tcpdump in sfe"

parents 7912fb6b 7805f932
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -4329,7 +4329,8 @@ static inline int nf_ingress(struct sk_buff *skb, struct packet_type **pt_prev,
int (*embms_tm_multicast_recv)(struct sk_buff *skb) __rcu __read_mostly;
EXPORT_SYMBOL(embms_tm_multicast_recv);

int (*athrs_fast_nat_recv)(struct sk_buff *skb) __rcu __read_mostly;
int (*athrs_fast_nat_recv)(struct sk_buff *skb,
			   struct packet_type *pt_temp) __rcu __read_mostly;
EXPORT_SYMBOL(athrs_fast_nat_recv);

static int __netif_receive_skb_core(struct sk_buff *skb, bool pfmemalloc)
@@ -4341,7 +4342,7 @@ static int __netif_receive_skb_core(struct sk_buff *skb, bool pfmemalloc)
	int ret = NET_RX_DROP;
	__be16 type;
	int (*embms_recv)(struct sk_buff *skb);
	int (*fast_recv)(struct sk_buff *skb);
	int (*fast_recv)(struct sk_buff *skb, struct packet_type *pt_temp);

	net_timestamp_check(!netdev_tstamp_prequeue, skb);

@@ -4405,7 +4406,7 @@ static int __netif_receive_skb_core(struct sk_buff *skb, bool pfmemalloc)
skip_classify:
	fast_recv = rcu_dereference(athrs_fast_nat_recv);
	if (fast_recv) {
		if (fast_recv(skb)) {
		if (fast_recv(skb, pt_prev)) {
			ret = NET_RX_SUCCESS;
			goto out;
		}