1. 18 Sep, 2013 3 commits
    • Simon Kirby's avatar
      ipvs: fix overflow on dest weight multiply · c16526a7
      Simon Kirby authored
      Schedulers such as lblc and lblcr require the weight to be as high as the
      maximum number of active connections. In commit b552f7e3
      ("ipvs: unify the formula to estimate the overhead of processing
      connections"), the consideration of inactconns and activeconns was cleaned
      up to always count activeconns as 256 times more important than inactconns.
      In cases where 3000 or more connections are expected, a weight of 3000 *
      256 * 3000 connections overflows the 32-bit signed result used to determine
      if rescheduling is required.
      
      On amd64, this merely changes the multiply and comparison instructions to
      64-bit. On x86, a 64-bit result is already present from imull, so only
      a few more comparison instructions are emitted.
      Signed-off-by: default avatarSimon Kirby <sim@hostway.ca>
      Acked-by: default avatarJulian Anastasov <ja@ssi.bg>
      Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
      c16526a7
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf · 61c5923a
      David S. Miller authored
      Pablo Neira Ayuso says:
      
      ====================
      The following patchset contains Netfilter fixes for you net tree,
      mostly targeted to ipset, they are:
      
      * Fix ICMPv6 NAT due to wrong comparison, code instead of type, from
        Phil Oester.
      
      * Fix RCU race in conntrack extensions release path, from Michal Kubecek.
      
      * Fix missing inversion in the userspace ipset test command match if
        the nomatch option is specified, from Jozsef Kadlecsik.
      
      * Skip layer 4 protocol matching in ipset in case of IPv6 fragments,
        also from Jozsef Kadlecsik.
      
      * Fix sequence adjustment in nfnetlink_queue due to using the netlink
        skb instead of the network skb, from Gao feng.
      
      * Make sure we cannot swap of sets with different layer 3 family in
        ipset, from Jozsef Kadlecsik.
      
      * Fix possible bogus matching in ipset if hash sets with net elements
        are used, from Oliver Smith.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      61c5923a
    • Sridhar Samudrala's avatar
      vxlan: Avoid creating fdb entry with NULL destination · 2936b6ab
      Sridhar Samudrala authored
      Commit afbd8bae
         vxlan: add implicit fdb entry for default destination
      creates an implicit fdb entry for default destination. This results
      in an invalid fdb entry if default destination is not specified.
      For ex:
        ip link add vxlan1 type vxlan id 100
      creates the following fdb entry
        00:00:00:00:00:00 dev vxlan1 dst 0.0.0.0 self permanent
      
      This patch fixes this issue by creating an fdb entry only if a
      valid default destination is specified.
      Signed-off-by: default avatarSridhar Samudrala <sri@us.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2936b6ab
  2. 17 Sep, 2013 14 commits
  3. 16 Sep, 2013 21 commits
  4. 14 Sep, 2013 2 commits