1. 12 6月, 2008 1 次提交
  2. 10 6月, 2008 1 次提交
  3. 22 5月, 2008 1 次提交
  4. 05 5月, 2008 2 次提交
  5. 03 5月, 2008 2 次提交
  6. 29 4月, 2008 2 次提交
  7. 14 4月, 2008 3 次提交
  8. 26 3月, 2008 2 次提交
  9. 21 3月, 2008 1 次提交
  10. 06 3月, 2008 2 次提交
  11. 24 2月, 2008 1 次提交
  12. 20 2月, 2008 1 次提交
  13. 01 2月, 2008 4 次提交
  14. 29 1月, 2008 13 次提交
  15. 25 1月, 2008 3 次提交
  16. 21 1月, 2008 1 次提交
    • P
      [NETFILTER]: bridge-netfilter: fix net_device refcnt leaks · 2dc2f207
      Patrick McHardy 提交于
      When packets are flood-forwarded to multiple output devices, the
      bridge-netfilter code reuses skb->nf_bridge for each clone to store
      the bridge port. When queueing packets using NFQUEUE netfilter takes
      a reference to skb->nf_bridge->physoutdev, which is overwritten
      when the packet is forwarded to the second port. This causes
      refcount unterflows for the first device and refcount leaks for all
      others. Additionally this provides incorrect data to the iptables
      physdev match.
      
      Unshare skb->nf_bridge by copying it if it is shared before assigning
      the physoutdev device.
      
      Reported, tested and based on initial patch by
      Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de>.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2dc2f207