Re: [PATCH v16 11/17]Add a hook to intercept external buffers from NIC driver.
On Wed, Dec 1, 2010 at 4:08 PM, xiaohui@intel.com wrote: From: Xin Xiaohui xiaohui@intel.com @@ -2891,6 +2925,11 @@ static int __netif_receive_skb(struct sk_buff *skb) ncls: #endif + /* To intercept mediate passthru(zero-copy) packets here */ + skb =
[PATCH v16 11/17]Add a hook to intercept external buffers from NIC driver.
From: Xin Xiaohui xiaohui@intel.com The hook is called in __netif_receive_skb(). Signed-off-by: Xin Xiaohui xiaohui@intel.com Signed-off-by: Zhao Yu yzhao81...@gmail.com Reviewed-by: Jeff Dike jd...@linux.intel.com --- net/core/dev.c | 40 1