Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/intel/e1000e/param.c drivers/net/wireless/iwlwifi/iwl-agn-rx.c drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c drivers/net/wireless/iwlwifi/iwl-trans.h Resolved the iwlwifi conflict with mainline using 3-way diff posted by John Linville and Stephen Rothwell. In 'net' we added a bug fix to make iwlwifi report a more accurate skb->truesize but this conflicted with RX path changes that happened meanwhile in net-next. In e1000e a conflict arose in the validation code for settings of adapter->itr. 'net-next' had more sophisticated logic so that logic was used. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1142,9 +1142,9 @@ sk_sockets_allocated_read_positive(struct sock *sk)
|
||||
struct proto *prot = sk->sk_prot;
|
||||
|
||||
if (mem_cgroup_sockets_enabled && sk->sk_cgrp)
|
||||
return percpu_counter_sum_positive(sk->sk_cgrp->sockets_allocated);
|
||||
return percpu_counter_read_positive(sk->sk_cgrp->sockets_allocated);
|
||||
|
||||
return percpu_counter_sum_positive(prot->sockets_allocated);
|
||||
return percpu_counter_read_positive(prot->sockets_allocated);
|
||||
}
|
||||
|
||||
static inline int
|
||||
|
Reference in New Issue
Block a user