Re: [PATCH net-next 1/9] net: better skb->sender_cpu and skb->napi_id cohabitation

2015-11-17 Thread Alexei Starovoitov
On Tue, Nov 17, 2015 at 05:56:56AM -0800, Eric Dumazet wrote: > skb->sender_cpu and skb->napi_id share a common storage, > and we had various bugs about this. > > We had to call skb_sender_cpu_clear() in some places to > not leave a prior skb->napi_id and fool netdev_pick_tx() > > As suggested by

[PATCH net-next 1/9] net: better skb->sender_cpu and skb->napi_id cohabitation

2015-11-17 Thread Eric Dumazet
skb->sender_cpu and skb->napi_id share a common storage, and we had various bugs about this. We had to call skb_sender_cpu_clear() in some places to not leave a prior skb->napi_id and fool netdev_pick_tx() As suggested by Alexei, we could split the space so that these errors can not happen. 0 va