summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-02-08 11:16:56 -0800
committerDavid S. Miller <davem@davemloft.net>2010-02-08 11:16:56 -0800
commit5b3501faa8741d50617ce4191c20061c6ef36cb3 (patch)
treefd3ac41baea9db5d795144da48cef46aca3e01f6 /tools/perf/scripts/python/net_dropmonitor.py
parent9edd7ca0a3e3999c260642c92fa008892d82ca6e (diff)
downloadkernel-5b3501faa8741d50617ce4191c20061c6ef36cb3.tar.gz
netfilter: nf_conntrack: per netns nf_conntrack_cachep
nf_conntrack_cachep is currently shared by all netns instances, but because of SLAB_DESTROY_BY_RCU special semantics, this is wrong. If we use a shared slab cache, one object can instantly flight between one hash table (netns ONE) to another one (netns TWO), and concurrent reader (doing a lookup in netns ONE, 'finding' an object of netns TWO) can be fooled without notice, because no RCU grace period has to be observed between object freeing and its reuse. We dont have this problem with UDP/TCP slab caches because TCP/UDP hashtables are global to the machine (and each object has a pointer to its netns). If we use per netns conntrack hash tables, we also *must* use per netns conntrack slab caches, to guarantee an object can not escape from one namespace to another one. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> [Patrick: added unique slab name allocation] Cc: stable@kernel.org Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
se.c?h=master&id=0971f7d991f051b4f146e61363ee855adc9b31c2'>Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlw...John W. Linville 2014-02-23iwlwifi: nvm: remove reading valid antennas from NVMJohannes Berg 2014-02-20iwlwifi: mvm: fix possible memory leakEytan Lifshitz 2014-02-13Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...John W. Linville 2014-02-13iwlwifi: mvm: new NVM format in family 8000Eran Harary 2014-02-03iwlwifi: remove obsolete TODOEmmanuel Grumbach 2014-02-02iwlwifi: mvm: don't allow A band if SKU forbids itEmmanuel Grumbach 2014-01-13iwlwifi: mvm: don't use highest rate in VHT MCS SetEyal Shapira 2014-01-13iwlwifi: change beamformee STS capEyal Shapira 2013-12-31iwlwifi: Update Copyright to 2014Emmanuel Grumbach 2013-12-17iwlwifi: mvm: set highest rate in VHT MCS SetEyal Shapira 2013-12-17iwlwifi: publish Tx STBC support in VHTEyal Shapira 2013-12-17iwlwifi: set VHT beamformee STS cap correctlyEyal Shapira 2013-12-09iwlwifi: fix check for a single rx antennaEyal Shapira 2013-11-25cfg80211: consolidate passive-scan and no-ibss flagsLuis R. Rodriguez 2013-07-31iwlwifi: mvm: Enable user set TX powerMatti Gottlieb 2013-05-29iwlwifi: take valid ant for HT caps from TLVEmmanuel Grumbach 2013-05-13iwlwifi: nvm: honour VHT enable flagJohannes Berg 2013-03-06iwlwifi: export symbols only conditionallyJohannes Berg 2013-03-06iwlwifi: mvm: advertise VHT capabilitiesEytan Lifshitz 2013-03-06iwlwifi: a few fixes in licenseEmmanuel Grumbach 2013-01-30iwlwifi: add NVM and PHY DB code for new MVM driverJohannes Berg