07 Jan, 2010

2 commits

  • * 'for-2.6.33' of git://linux-nfs.org/~bfields/linux:
    sunrpc: fix peername failed on closed listener
    nfsd: make sure data is on disk before calling ->fsync
    nfsd: fix "insecure" export option

    Linus Torvalds
     
  • There're some warnings of "nfsd: peername failed (err 107)!"
    socket error -107 means Transport endpoint is not connected.
    This warning message was outputed by svc_tcp_accept() [net/sunrpc/svcsock.c],
    when kernel_getpeername returns -107. This means socket might be CLOSED.

    And svc_tcp_accept was called by svc_recv() [net/sunrpc/svc_xprt.c]

    if (test_bit(XPT_LISTENER, &xprt->xpt_flags)) {

    newxpt = xprt->xpt_ops->xpo_accept(xprt);

    So this might happen when xprt->xpt_flags has both XPT_LISTENER and XPT_CLOSE.

    Let's take a look at commit b0401d72, this commit has moved the close
    processing after do recvfrom method, but this commit also introduces this
    warnings, if the xpt_flags has both XPT_LISTENER and XPT_CLOSED, we should
    close it, not accpet then close.

    Signed-off-by: Xiaotian Feng
    Cc: J. Bruce Fields
    Cc: Neil Brown
    Cc: Trond Myklebust
    Cc: David S. Miller
    Cc: stable@kernel.org
    Signed-off-by: J. Bruce Fields

    Xiaotian Feng
     

31 Dec, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (74 commits)
    Revert "b43: Enforce DMA descriptor memory constraints"
    iwmc3200wifi: fix array out-of-boundary access
    wl1251: timeout one too soon in wl1251_boot_run_firmware()
    mac80211: fix propagation of failed hardware reconfigurations
    mac80211: fix race with suspend and dynamic_ps_disable_work
    ath9k: fix missed error codes in the tx status check
    ath9k: wake hardware during AMPDU TX actions
    ath9k: wake hardware for interface IBSS/AP/Mesh removal
    ath9k: fix suspend by waking device prior to stop
    cfg80211: fix error path in cfg80211_wext_siwscan
    wl1271_cmd.c: cleanup char => u8
    iwlwifi: Storage class should be before const qualifier
    ath9k: Storage class should be before const qualifier
    cfg80211: fix race between deauth and assoc response
    wireless: remove remaining qual code
    rt2x00: Add USB ID for Linksys WUSB 600N rev 2.
    ath5k: fix SWI calibration interrupt storm
    mac80211: fix ibss join with fixed-bssid
    libertas: Remove carrier signaling from the scan code
    orinoco: fix GFP_KERNEL in orinoco_set_key with interrupts disabled
    ...

    Linus Torvalds
     

30 Dec, 2009

1 commit


29 Dec, 2009

5 commits

  • mac80211 does not propagate failed hardware reconfiguration
    requests. For suspend and resume this is important due to all
    the possible issues that can come out of the suspend resume
    cycle. Not propagating the error means cfg80211 will assume
    the resume for the device went through fine and mac80211 will
    continue on trying to poke at the hardware, enable timers,
    queue work, and so on for a device which is completley
    unfunctional.

    The least we can do is to propagate device start issues and
    warn when this occurs upon resume. A side effect of this patch
    is we also now propagate the start errors upon harware
    reconfigurations (non-suspend), but this should also be desirable
    anyway, there is not point in continuing to reconfigure a
    device if mac80211 was unable to start the device.

    For further details refer to the thread:

    http://marc.info/?t=126151038700001&r=1&w=2

    Cc: stable@kernel.org
    Signed-off-by: Luis R. Rodriguez
    Signed-off-by: John W. Linville

    Luis R. Rodriguez
     
  • When mac80211 suspends it calls a driver's suspend callback
    as a last step and after that the driver assumes no calls will
    be made to it until we resume and its start callback is kicked.
    If such calls are made, however, suspend can end up throwing
    hardware in an unexpected state and making the device unusable
    upon resume.

    Fix this by preventing mac80211 to schedule dynamic_ps_disable_work
    by checking for when mac80211 starts to suspend and starts
    quiescing. Frames should be allowed to go through though as
    that is part of the quiescing steps and we do not flush the
    mac80211 workqueue since it was already done towards the
    beginning of suspend cycle.

    The other mac80211 issue will be hanled in the next patch.

    For further details see refer to the thread:

    http://marc.info/?t=126144866100001&r=1&w=2

    Cc: stable@kernel.org
    Signed-off-by: Luis R. Rodriguez
    Signed-off-by: John W. Linville

    Luis R. Rodriguez
     
  • If there's an invalid channel or SSID, the code leaks
    the scan request. Always free the scan request, unless
    it was successfully given to the driver.

    Reported-by: Dan Carpenter
    Signed-off-by: Johannes Berg
    Acked-by: Dan Carpenter
    Signed-off-by: John W. Linville

    Johannes Berg
     
  • Joseph Nahmias reported, in http://bugs.debian.org/562016,
    that he was getting the following warning (with some log
    around the issue):

    ath0: direct probe to AP 00:11:95:77:e0:b0 (try 1)
    ath0: direct probe responded
    ath0: authenticate with AP 00:11:95:77:e0:b0 (try 1)
    ath0: authenticated
    ath0: associate with AP 00:11:95:77:e0:b0 (try 1)
    ath0: deauthenticating from 00:11:95:77:e0:b0 by local choice (reason=3)
    ath0: direct probe to AP 00:11:95:77:e0:b0 (try 1)
    ath0: RX AssocResp from 00:11:95:77:e0:b0 (capab=0x421 status=0 aid=2)
    ath0: associated
    ------------[ cut here ]------------
    WARNING: at net/wireless/mlme.c:97 cfg80211_send_rx_assoc+0x14d/0x152 [cfg80211]()
    Hardware name: 7658CTO
    ...
    Pid: 761, comm: phy0 Not tainted 2.6.32-trunk-686 #1
    Call Trace:
    [] ? warn_slowpath_common+0x5e/0x8a
    [] ? warn_slowpath_null+0xa/0xc
    [] ? cfg80211_send_rx_assoc+0x14d/0x152
    ...
    ath0: link becomes ready
    ath0: deauthenticating from 00:11:95:77:e0:b0 by local choice (reason=3)
    ath0: no IPv6 routers present
    ath0: link is not ready
    ath0: direct probe to AP 00:11:95:77:e0:b0 (try 1)
    ath0: direct probe responded
    ath0: authenticate with AP 00:11:95:77:e0:b0 (try 1)
    ath0: authenticated
    ath0: associate with AP 00:11:95:77:e0:b0 (try 1)
    ath0: RX ReassocResp from 00:11:95:77:e0:b0 (capab=0x421 status=0 aid=2)
    ath0: associated

    It is not clear to me how the first "direct probe" here
    happens, but this seems to be a race condition, if the
    user requests to deauth after requesting assoc, but before
    the assoc response is received. In that case, it may
    happen that mac80211 tries to report the assoc success to
    cfg80211, but gets blocked on the wdev lock that is held
    because the user is requesting the deauth.

    The result is that we run into a warning. This is mostly
    harmless, but maybe cause an unexpected event to be sent
    to userspace; we'd send an assoc success event although
    userspace was no longer expecting that.

    To fix this, remove the warning and check whether the
    race happened and in that case abort processing.

    Reported-by: Joseph Nahmias
    Cc: stable@kernel.org
    Cc: 562016-quiet@bugs.debian.org
    Signed-off-by: Johannes Berg
    Signed-off-by: John W. Linville

    Johannes Berg
     
  • When fixed bssid is requested when joining an ibss network, incoming
    beacons that match the configured bssid cause mac80211 to create new
    sta entries, even before the ibss interface is in joined state.
    When that happens, it fails to bring up the interface entirely, because
    it checks for existing sta entries before joining.
    This patch fixes this bug by refusing to create sta info entries before
    the interface is fully operational.

    Signed-off-by: Felix Fietkau
    Signed-off-by: John W. Linville

    Felix Fietkau
     

27 Dec, 2009

1 commit


26 Dec, 2009

1 commit

  • when using policy routing and the skb mark:
    there are cases where a back path validation requires us
    to use a different routing table for src ip validation than
    the one used for mapping ingress dst ip.
    One such a case is transparent proxying where we pretend to be
    the destination system and therefore the local table
    is used for incoming packets but possibly a main table would
    be used on outbound.
    Make the default behavior to allow the above and if users
    need to turn on the symmetry via sysctl src_valid_mark

    Signed-off-by: Jamal Hadi Salim
    Signed-off-by: David S. Miller

    Jamal Hadi Salim
     

24 Dec, 2009

1 commit

  • This updates pktgen so that it does not decrement skb->users
    when it receives valid NET_XMIT_xxx values. These are now
    valid return values from ndo_start_xmit in net-next-2.6.
    They also indicate the skb has been consumed.

    This fixes pktgen to work correctly with vlan devices.

    Signed-off-by: John Fastabend
    Signed-off-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    John Fastabend
     

23 Dec, 2009

4 commits

  • rename kfifo_put... into kfifo_in... to prevent miss use of old non in
    kernel-tree drivers

    ditto for kfifo_get... -> kfifo_out...

    Improve the prototypes of kfifo_in and kfifo_out to make the kerneldoc
    annotations more readable.

    Add mini "howto porting to the new API" in kfifo.h

    Signed-off-by: Stefani Seibold
    Acked-by: Greg Kroah-Hartman
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Andi Kleen
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stefani Seibold
     
  • change name of __kfifo_* functions to kfifo_*, because the prefix __kfifo
    should be reserved for internal functions only.

    Signed-off-by: Stefani Seibold
    Acked-by: Greg Kroah-Hartman
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Andi Kleen
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stefani Seibold
     
  • Move the pointer to the spinlock out of struct kfifo. Most users in
    tree do not actually use a spinlock, so the few exceptions now have to
    call kfifo_{get,put}_locked, which takes an extra argument to a
    spinlock.

    Signed-off-by: Stefani Seibold
    Acked-by: Greg Kroah-Hartman
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Andi Kleen
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stefani Seibold
     
  • This is a new generic kernel FIFO implementation.

    The current kernel fifo API is not very widely used, because it has to
    many constrains. Only 17 files in the current 2.6.31-rc5 used it.
    FIFO's are like list's a very basic thing and a kfifo API which handles
    the most use case would save a lot of development time and memory
    resources.

    I think this are the reasons why kfifo is not in use:

    - The API is to simple, important functions are missing
    - A fifo can be only allocated dynamically
    - There is a requirement of a spinlock whether you need it or not
    - There is no support for data records inside a fifo

    So I decided to extend the kfifo in a more generic way without blowing up
    the API to much. The new API has the following benefits:

    - Generic usage: For kernel internal use and/or device driver.
    - Provide an API for the most use case.
    - Slim API: The whole API provides 25 functions.
    - Linux style habit.
    - DECLARE_KFIFO, DEFINE_KFIFO and INIT_KFIFO Macros
    - Direct copy_to_user from the fifo and copy_from_user into the fifo.
    - The kfifo itself is an in place member of the using data structure, this save an
    indirection access and does not waste the kernel allocator.
    - Lockless access: if only one reader and one writer is active on the fifo,
    which is the common use case, no additional locking is necessary.
    - Remove spinlock - give the user the freedom of choice what kind of locking to use if
    one is required.
    - Ability to handle records. Three type of records are supported:
    - Variable length records between 0-255 bytes, with a record size
    field of 1 bytes.
    - Variable length records between 0-65535 bytes, with a record size
    field of 2 bytes.
    - Fixed size records, which no record size field.
    - Preserve memory resource.
    - Performance!
    - Easy to use!

    This patch:

    Since most users want to have the kfifo as part of another object,
    reorganize the code to allow including struct kfifo in another data
    structure. This requires changing the kfifo_alloc and kfifo_init
    prototypes so that we pass an existing kfifo pointer into them. This
    patch changes the implementation and all existing users.

    [akpm@linux-foundation.org: fix warning]
    Signed-off-by: Stefani Seibold
    Acked-by: Greg Kroah-Hartman
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Andi Kleen
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stefani Seibold
     

22 Dec, 2009

4 commits

  • David S. Miller
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    bnx2: Fix bnx2_netif_stop() merge error.
    gianfar: Fix bit definitions of IMASK_GRSC and IMASK_GTSC
    gianfar: Fix stats support
    gianfar: Fix a filer bug
    bnx2: fixing a timout error due not refreshing TX timers correctly
    can/at91: don't check platform_get_irq's return value against zero
    mISDN: use DECLARE_COMPLETION_ONSTACK for non-constant completion
    bnx2: reset_task is crashing the kernel. Fixing it.
    ipv6: fix an oops when force unload ipv6 module
    TI DaVinci EMAC: Fix MDIO bus frequency configuration
    e100: Fix broken cbs accounting due to missing memset.
    broadcom: bcm54xx_shadow_read() errors ignored in bcm54xx_adjust_rxrefclk()
    e1000e: LED settings in EEPROM ignored on 82571 and 82572
    netxen: use module parameter correctly
    netns: fix net.ipv6.route.gc_min_interval_ms in netns
    Bluetooth: Prevent ill-timed autosuspend in USB driver
    Bluetooth: Fix L2CAP locking scheme regression
    Bluetooth: Ack L2CAP I-frames before retransmit missing packet
    Bluetooth: Fix unset of RemoteBusy flag for L2CAP
    Bluetooth: Fix PTR_ERR return of wrong pointer in hidp_setup_hid()

    Linus Torvalds
     
  • My
    commit 77fdaa12cea26c204cc12c312fe40bc0f3dcdfd8
    Author: Johannes Berg
    Date: Tue Jul 7 03:45:17 2009 +0200

    mac80211: rework MLME for multiple authentications

    inadvertedly broke WMM because it removed, along with
    a bunch of other now useless initialisations, the line
    initialising sdata->u.mgd.wmm_last_param_set to -1
    which would make it adopt any WMM parameter set. If,
    as is usually the case, the AP uses WMM parameter set
    sequence number zero, we'd never update it until the
    AP changes the sequence number.

    Add the missing initialisation back to get the WMM
    settings from the AP applied locally.

    Signed-off-by: Johannes Berg
    Cc: stable@kernel.org [2.6.31+]
    Signed-off-by: John W. Linville

    Johannes Berg
     
  • I noticed yesterday, because Jeff had noticed
    a speed regression, cf. bug
    http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2138
    that the SM PS settings for peers were wrong.
    Instead of overwriting the SM PS settings with
    the local bits, we need to keep the remote bits.

    The bug was part of the original HT code from
    over two years ago, but unfortunately nobody
    noticed that it makes no sense -- we shouldn't
    be overwriting the peer's setting with our own
    but rather keep it intact when masking the peer
    capabilities with our own.

    While fixing that, I noticed that the masking of
    capabilities is completely useless for most of
    the bits, so also fix those other bits.

    Finally, I also noticed that PSMP_SUPPORT no
    longer exists in the final 802.11n version, so
    also remove that.

    Signed-off-by: Johannes Berg
    Signed-off-by: John W. Linville

    Johannes Berg
     

19 Dec, 2009

2 commits

  • When I do an ipv6 module force unload,I got the following oops:
    #rmmod -f ipv6
    ------------[ cut here ]------------
    kernel BUG at mm/slub.c:2969!
    invalid opcode: 0000 [#1] SMP
    last sysfs file: /sys/devices/pci0000:00/0000:00:11.0/0000:02:03.0/net/eth2/ifindex
    Modules linked in: ipv6(-) dm_multipath uinput ppdev tpm_tis tpm tpm_bios pcspkr pcnet32 mii parport_pc i2c_piix4 parport i2c_core floppy mptspi mptscsih mptbase scsi_transport_spi

    Pid: 2530, comm: rmmod Tainted: G R 2.6.32 #2 440BX Desktop Reference Platform/VMware Virtual Platform
    EIP: 0060:[] EFLAGS: 00010246 CPU: 0
    EIP is at kfree+0x6a/0xdd
    EAX: 00000000 EBX: c09e86bc ECX: c043e4dd EDX: c14293e0
    ESI: e141f1d8 EDI: e140fc31 EBP: dec58ef0 ESP: dec58ed0
    DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
    Process rmmod (pid: 2530, ti=dec58000 task=decb1940 task.ti=dec58000)
    Stack:
    c14293e0 00000282 df624240 c0897d08 c09e86bc c09e86bc e141f1d8 dec58f1c
    dec58f00 e140fc31 c09e84c4 e141f1bc dec58f14 c0689d21 dec58f1c e141f1bc
    00000000 dec58f2c c0689eff c09e84d8 c09e84d8 e141f1bc bff33a90 dec58f38
    Call Trace:
    [] ? ipv6_frags_exit_net+0x22/0x32 [ipv6]
    [] ? ops_exit_list+0x19/0x3d
    [] ? unregister_pernet_operations+0x2a/0x51
    [] ? unregister_pernet_subsys+0x17/0x24
    [] ? ipv6_frag_exit+0x21/0x32 [ipv6]
    [] ? inet6_exit+0x47/0x122 [ipv6]
    [] ? sys_delete_module+0x198/0x1f6
    [] ? remove_vma+0x57/0x5d
    [] ? do_page_fault+0x2e7/0x315
    [] ? sysenter_do_call+0x12/0x28
    Code: 86 00 00 00 40 c1 e8 0c c1 e0 05 01 d0 89 45 e0 66 83 38 00 79 06 8b 40 0c 89 45 e0 8b 55 e0 8b 02 84 c0 78 14 66 a9 00 c0 75 04 0b eb fe 8b 45 e0 e8 35 15 fe ff eb 5d 8b 45 04 8b 55 e0 89
    EIP: [] kfree+0x6a/0xdd SS:ESP 0068:dec58ed0
    ---[ end trace 4475d1a5b0afa7e5 ]---

    It's because in ip6_frags_ns_sysctl_register,
    "table" only alloced when "net" is not equals
    to "init_net".So when we free "table" in
    ip6_frags_ns_sysctl_unregister,we should check
    this first.

    This patch fix the problem.

    Signed-off-by: Yang Hongyang
    Signed-off-by: David S. Miller

    Yang Hongyang
     
  • sysctl table was copied, all right, but ->data for net.ipv6.route.gc_min_interval_ms
    was not reinitialized for "!= &init_net" case.

    In init_net everthing works by accident due to correct ->data initialization
    in source table.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     

18 Dec, 2009

4 commits


17 Dec, 2009

11 commits

  • Filesystems outside the regular namespace do not have to clear DCACHE_UNHASHED
    in order to have a working /proc/$pid/fd/XXX. Nothing in proc prevents the
    fd link from being used if its dentry is not in the hash.

    Also, it does not get put into the dcache hash if DCACHE_UNHASHED is clear;
    that depends on the filesystem calling d_add or d_rehash.

    So delete the misleading comments and needless code.

    Acked-by: Miklos Szeredi
    Signed-off-by: Nick Piggin
    Signed-off-by: Al Viro

    Nick Piggin
     
  • * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (38 commits)
    direct I/O fallback sync simplification
    ocfs: stop using do_sync_mapping_range
    cleanup blockdev_direct_IO locking
    make generic_acl slightly more generic
    sanitize xattr handler prototypes
    libfs: move EXPORT_SYMBOL for d_alloc_name
    vfs: force reval of target when following LAST_BIND symlinks (try #7)
    ima: limit imbalance msg
    Untangling ima mess, part 3: kill dead code in ima
    Untangling ima mess, part 2: deal with counters
    Untangling ima mess, part 1: alloc_file()
    O_TRUNC open shouldn't fail after file truncation
    ima: call ima_inode_free ima_inode_free
    IMA: clean up the IMA counts updating code
    ima: only insert at inode creation time
    ima: valid return code from ima_inode_alloc
    fs: move get_empty_filp() deffinition to internal.h
    Sanitize exec_permission_lite()
    Kill cached_lookup() and real_lookup()
    Kill path_lookup_open()
    ...

    Trivial conflicts in fs/direct-io.c

    Linus Torvalds
     
  • * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
    NFSv4: Fix a regression in the NFSv4 state manager
    NFSv4: Release the sequence id before restarting a CLOSE rpc call
    nfs41: fix session fore channel negotiation
    nfs41: do not zero seqid portion of stateid on close
    nfs: run state manager in privileged mode
    nfs: make recovery state manager operations privileged
    nfs: enforce FIFO ordering of operations trying to acquire slot
    rpc: add a new priority in RPC task
    nfs: remove rpc_task argument from nfs4_find_slot
    rpc: add rpc_queue_empty function
    nfs: change nfs4_do_setlk params to identify recovery type
    nfs: do not do a LOOKUP after open
    nfs: minor cleanup of session draining

    Linus Torvalds
     
  • * 'for-2.6.33' of git://linux-nfs.org/~bfields/linux: (42 commits)
    nfsd: remove pointless paths in file headers
    nfsd: move most of nfsfh.h to fs/nfsd
    nfsd: remove unused field rq_reffh
    nfsd: enable V4ROOT exports
    nfsd: make V4ROOT exports read-only
    nfsd: restrict filehandles accepted in V4ROOT case
    nfsd: allow exports of symlinks
    nfsd: filter readdir results in V4ROOT case
    nfsd: filter lookup results in V4ROOT case
    nfsd4: don't continue "under" mounts in V4ROOT case
    nfsd: introduce export flag for v4 pseudoroot
    nfsd: let "insecure" flag vary by pseudoflavor
    nfsd: new interface to advertise export features
    nfsd: Move private headers to source directory
    vfs: nfsctl.c un-used nfsd #includes
    lockd: Remove un-used nfsd headers #includes
    s390: remove un-used nfsd #includes
    sparc: remove un-used nfsd #includes
    parsic: remove un-used nfsd #includes
    compat.c: Remove dependence on nfsd private headers
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (26 commits)
    net: sh_eth alignment fix for sh7724 using NET_IP_ALIGN V2
    ixgbe: allow tx of pre-formatted vlan tagged packets
    ixgbe: Fix 82598 premature copper PHY link indicatation
    ixgbe: Fix tx_restart_queue/non_eop_desc statistics counters
    bcm63xx_enet: fix compilation failure after get_stats_count removal
    packet: dont call sleeping functions while holding rcu_read_lock()
    tcp: Revert per-route SACK/DSACK/TIMESTAMP changes.
    ipvs: zero usvc and udest
    netfilter: fix crashes in bridge netfilter caused by fragment jumps
    ipv6: reassembly: use seperate reassembly queues for conntrack and local delivery
    sky2: leave PCI config space writeable
    sky2: print Optima chip name
    x25: Update maintainer.
    ipvs: fix synchronization on connection close
    netfilter: xtables: document minimal required version
    drivers/net/bonding/: : use pr_fmt
    can: CAN_MCP251X should depend on HAS_DMA
    drivers/net/usb: Correct code taking the size of a pointer
    drivers/net/cpmac.c: Correct code taking the size of a pointer
    drivers/net/sfc: Correct code taking the size of a pointer
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (45 commits)
    RDMA/cxgb3: Fix error paths in post_send and post_recv
    RDMA/nes: Fix stale ARP issue
    RDMA/nes: FIN during MPA startup causes timeout
    RDMA/nes: Free kmap() resources
    RDMA/nes: Check for zero STag
    RDMA/nes: Fix Xansation test crash on cm_node ref_count
    RDMA/nes: Abnormal listener exit causes loopback node crash
    RDMA/nes: Fix crash in nes_accept()
    RDMA/nes: Resource not freed for REJECTed connections
    RDMA/nes: MPA request/response error checking
    RDMA/nes: Fix query of ORD values
    RDMA/nes: Fix MAX_CM_BUFFER define
    RDMA/nes: Pass correct size to ioremap_nocache()
    RDMA/nes: Update copyright and branding string
    RDMA/nes: Add max_cqe check to nes_create_cq()
    RDMA/nes: Clean up struct nes_qp
    RDMA/nes: Implement IB_SIGNAL_ALL_WR as an iWARP extension
    RDMA/nes: Add additional SFP+ PHY uC status check and PHY reset
    RDMA/nes: Correct fast memory registration implementation
    IB/ehca: Fix error paths in post_send and post_recv
    ...

    Linus Torvalds
     
  • ... and have the caller grab both mnt and dentry; kill
    leak in infiniband, while we are at it.

    Signed-off-by: Al Viro

    Al Viro
     
  • Signed-off-by: Al Viro

    Al Viro
     
  • * if we fail in p9_conn_create(), we shouldn't leak references to struct file.
    Logics in ->close() doesn't help - ->trans is already gone by the time it's
    called.
    * sock_create_kern() can fail.
    * use of sock_map_fd() is all fscked up; I'd fixed most of that, but the
    rest will have to wait for a bit more work in net/socket.c (we still are
    violating the basic rule of working with descriptor table: "once the reference
    is installed there, don't rely on finding it there again").

    Signed-off-by: Al Viro

    Al Viro
     
  • Signed-off-by: Al Viro

    Al Viro
     
  • Signed-off-by: Al Viro

    Al Viro
     

16 Dec, 2009

3 commits