From e76590ee4982748f65dc993c4020892d2edff114 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Fri, 10 Jun 2011 15:40:25 +0200 Subject: [PATCH] static idp for test --- src/fb_eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fb_eth.c b/src/fb_eth.c index 803c215..66ba66f 100644 --- a/src/fb_eth.c +++ b/src/fb_eth.c @@ -70,8 +70,8 @@ static rx_handler_result_t fb_eth_handle_frame(struct sk_buff **pskb) fb_priv_cpu = this_cpu_ptr(rcu_dereference(fb->private_data)); do { seq = read_seqbegin(&fb_priv_cpu->lock); - write_next_idp_to_skb(skb, fb->idp, - fb_priv_cpu->port[TYPE_INGRESS]); + write_next_idp_to_skb(skb, fb->idp, 1 + /*fb_priv_cpu->port[TYPE_INGRESS]*/); } while (read_seqretry(&fb_priv_cpu->lock, seq)); process_packet(skb, TYPE_INGRESS); -- 2.11.4.GIT