13 Jul, 2016

1 commit


26 Apr, 2016

1 commit


03 Jun, 2015

2 commits

  • The driver waits for command completion event while cleanup of task
    within the frwd lock and back locks. The frwd lock was still held
    which caused the call trace while issuing a device reset.
    Release the frwd lock along with the back lock
    to avoid waiting in the lock context.

    Signed-off-by: Nilesh Javali
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Nilesh Javali
     
  • Fix the firmware assert, during target logout in
    case driver received FIN from target before waiting for
    asyncronous response.

    Signed-off-by: Tej Parkash
    Signed-off-by: Nilesh Javali
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Tej Parkash
     

24 Nov, 2014

2 commits

  • Drop the now unused reason argument from the ->change_queue_depth method.
    Also add a return value to scsi_adjust_queue_depth, and rename it to
    scsi_change_queue_depth now that it can be used as the default
    ->change_queue_depth implementation.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Mike Christie
    Reviewed-by: Hannes Reinecke

    Christoph Hellwig
     
  • All drivers use the implementation for ramping the queue up and down, so
    instead of overloading the change_queue_depth method call the
    implementation diretly if the driver opts into it by setting the
    track_queue_depth flag in the host template.

    Note that a few drivers validated the new queue depth in their
    change_queue_depth method, but as we never go over the queue depth
    set during slave_configure or the sysfs file this isn't nessecary
    and can safely be removed.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Mike Christie
    Reviewed-by: Hannes Reinecke
    Reviewed-by: Venkatesh Srinivas

    Christoph Hellwig
     

08 Oct, 2014

1 commit

  • Pull SCSI updates from James Bottomley:
    "This patch set consists of the usual driver updates (megaraid_sas,
    arcmsr, be2iscsi, lpfc, mpt2sas, mpt3sas, qla2xxx, ufs) plus several
    assorted fixes and miscellaneous updates (including the
    pci_msix_enable_range() changes that have been pending for a while)"

    * tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (202 commits)
    scsi: add a CONFIG_SCSI_MQ_DEFAULT option
    ufs: definitions for phy interface
    ufs: tune bkops while power managment events
    ufs: Add support for clock scaling using devfreq framework
    ufs: Add freq-table-hz property for UFS device
    ufs: Add support for clock gating
    ufs: refactor configuring power mode
    ufs: add UFS power management support
    ufs: introduce well known logical unit in ufs
    ufs: manually add well known logical units
    ufs: Active Power Mode - configuring bActiveICCLevel
    ufs: improve init sequence
    ufs: refactor query descriptor API support
    ufs: add voting support for host controller power
    ufs: Add clock initialization support
    ufs: Add regulator enable support
    ufs: Allow vendor specific initialization
    scsi: don't add scsi_device if its already visible
    scsi: fix the type for well known LUs
    scsi: fix comment in struct Scsi_Host definition
    ...

    Linus Torvalds
     

17 Sep, 2014

1 commit


16 Sep, 2014

1 commit

  • Just like CNIC, tristate of these two modules is also dependent on IPV6.
    These need to be handled separately as they select CNIC, which can override
    tristate for CNIC from 'm' to 'y', which can cause build failures when ipv6 is
    compiled as a module even if CNIC's Kconfig will only 'm' or 'n' when ipv6 is
    compiled as a module.

    Fixes: c99d667e8527 ("cnic : Cleanup CONFIG_IPV6 & VLAN check")
    Signed-off-by: Anish Bhatt
    Signed-off-by: David S. Miller

    Anish Bhatt
     

26 Jul, 2014

3 commits


07 May, 2014

1 commit


18 Apr, 2014

1 commit

  • Replace various -20/+19 hardcoded nice values with MIN_NICE/MAX_NICE.

    Signed-off-by: Dongsheng Yang
    Acked-by: Tejun Heo
    Signed-off-by: Peter Zijlstra
    Link: http://lkml.kernel.org/r/ff13819fd09b7a5dba5ab5ae797f2e7019bdfa17.1394532288.git.yangds.fnst@cn.fujitsu.com
    Cc: devel@driverdev.osuosl.org
    Cc: devicetree@vger.kernel.org
    Cc: fcoe-devel@open-fcoe.org
    Cc: linux390@de.ibm.com
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mm@kvack.org
    Cc: linux-s390@vger.kernel.org
    Cc: linux-scsi@vger.kernel.org
    Cc: nbd-general@lists.sourceforge.net
    Cc: ocfs2-devel@oss.oracle.com
    Cc: openipmi-developer@lists.sourceforge.net
    Cc: qla2xxx-upstream@qlogic.com
    Cc: linux-arch@vger.kernel.org
    [ Consolidated the patches, twiddled the changelog. ]
    Signed-off-by: Ingo Molnar

    Dongsheng Yang
     

08 Apr, 2014

1 commit

  • Pull CPU hotplug notifiers registration fixes from Rafael Wysocki:
    "The purpose of this single series of commits from Srivatsa S Bhat
    (with a small piece from Gautham R Shenoy) touching multiple
    subsystems that use CPU hotplug notifiers is to provide a way to
    register them that will not lead to deadlocks with CPU online/offline
    operations as described in the changelog of commit 93ae4f978ca7f ("CPU
    hotplug: Provide lockless versions of callback registration
    functions").

    The first three commits in the series introduce the API and document
    it and the rest simply goes through the users of CPU hotplug notifiers
    and converts them to using the new method"

    * tag 'cpu-hotplug-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (52 commits)
    net/iucv/iucv.c: Fix CPU hotplug callback registration
    net/core/flow.c: Fix CPU hotplug callback registration
    mm, zswap: Fix CPU hotplug callback registration
    mm, vmstat: Fix CPU hotplug callback registration
    profile: Fix CPU hotplug callback registration
    trace, ring-buffer: Fix CPU hotplug callback registration
    xen, balloon: Fix CPU hotplug callback registration
    hwmon, via-cputemp: Fix CPU hotplug callback registration
    hwmon, coretemp: Fix CPU hotplug callback registration
    thermal, x86-pkg-temp: Fix CPU hotplug callback registration
    octeon, watchdog: Fix CPU hotplug callback registration
    oprofile, nmi-timer: Fix CPU hotplug callback registration
    intel-idle: Fix CPU hotplug callback registration
    clocksource, dummy-timer: Fix CPU hotplug callback registration
    drivers/base/topology.c: Fix CPU hotplug callback registration
    acpi-cpufreq: Fix CPU hotplug callback registration
    zsmalloc: Fix CPU hotplug callback registration
    scsi, fcoe: Fix CPU hotplug callback registration
    scsi, bnx2fc: Fix CPU hotplug callback registration
    scsi, bnx2i: Fix CPU hotplug callback registration
    ...

    Linus Torvalds
     

02 Apr, 2014

1 commit

  • Pull first round of SCSI updates from James Bottomley:
    "This patch consists of the usual driver updates (megaraid_sas,
    scsi_debug, qla2xxx, qla4xxx, lpfc, bnx2fc, be2iscsi, hpsa, ipr) plus
    an assortment of minor fixes and the first precursors of SCSI-MQ (the
    code path simplifications) and the bug fix for the USB oops on remove
    (which involves an infrastructure change, so is sent via the main tree
    with a delayed backport after a cycle in which it is shown to
    introduce no new bugs)"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (196 commits)
    [SCSI] sd: Quiesce mode sense error messages
    [SCSI] add support for per-host cmd pools
    [SCSI] simplify command allocation and freeing a bit
    [SCSI] megaraid: simplify internal command handling
    [SCSI] ses: Use vpd information from scsi_device
    [SCSI] Add EVPD page 0x83 and 0x80 to sysfs
    [SCSI] Return VPD page length in scsi_vpd_inquiry()
    [SCSI] scsi_sysfs: Implement 'is_visible' callback
    [SCSI] hpsa: update driver version to 3.4.4-1
    [SCSI] hpsa: fix bad endif placement in RAID 5 mapper code
    [SCSI] qla2xxx: Fix build errors related to invalid print fields on some architectures.
    [SCSI] bfa: Replace large udelay() with mdelay()
    [SCSI] vmw_pvscsi: Some improvements in pvscsi driver.
    [SCSI] vmw_pvscsi: Add support for I/O requests coalescing.
    [SCSI] vmw_pvscsi: Fix pvscsi_abort() function.
    [SCSI] remove deprecated IRQF_DISABLED from SCSI
    [SCSI] bfa: Updating Maintainers email ids
    [SCSI] ipr: Add new CCIN definition for Grand Canyon support
    [SCSI] ipr: Format HCAM overlay ID 0x21
    [SCSI] ipr: Use pci_enable_msi_range() and pci_enable_msix_range()
    ...

    Linus Torvalds
     

20 Mar, 2014

1 commit

  • Subsystems that want to register CPU hotplug callbacks, as well as perform
    initialization for the CPUs that are already online, often do it as shown
    below:

    get_online_cpus();

    for_each_online_cpu(cpu)
    init_cpu(cpu);

    register_cpu_notifier(&foobar_cpu_notifier);

    put_online_cpus();

    This is wrong, since it is prone to ABBA deadlocks involving the
    cpu_add_remove_lock and the cpu_hotplug.lock (when running concurrently
    with CPU hotplug operations).

    Instead, the correct and race-free way of performing the callback
    registration is:

    cpu_notifier_register_begin();

    for_each_online_cpu(cpu)
    init_cpu(cpu);

    /* Note the use of the double underscored version of the API */
    __register_cpu_notifier(&foobar_cpu_notifier);

    cpu_notifier_register_done();

    Fix the bnx2i code in scsi by using this latter form of callback registration.

    Cc: Eddie Wai
    Cc: "James E.J. Bottomley"
    Cc: Ingo Molnar
    Signed-off-by: Srivatsa S. Bhat
    Signed-off-by: Rafael J. Wysocki

    Srivatsa S. Bhat
     

19 Mar, 2014

1 commit

  • The bnx2/bnx2x rings are made up of linked pages. However there is an
    upper limit on the page size as some the page size settings are 16-bit
    in the hardware/firmware interface. In the current code, some parts
    use BNX2_PAGE_SIZE which has a 16K upper limit and some parts use
    PAGE_SIZE. On archs with >= 64K PAGE_SIZE, it generates some compile
    warnings. Define a new CNIC_PAGE_SZIE which has an upper limit of
    16K and use it consistently in all relevant parts.

    Signed-off-by: Michael Chan
    Signed-off-by: Eddie Wai
    Signed-off-by: David S. Miller

    Michael Chan
     

16 Mar, 2014

1 commit

  • Replace the session lock with two locks, a forward lock and
    a backwards lock named frwd_lock and back_lock respectively.

    The forward lock protects resources that change while sending a
    request to the target, such as cmdsn, queued_cmdsn, and allocating
    task from the commands' pool with kfifo_out.

    The backward lock protects resources that change while processing
    a response or in error path, such as cmdsn_exp, cmdsn_max, and
    returning tasks to the commands' pool with kfifo_in.

    Under a steady state fast-path situation, that is when one
    or more processes/threads submit IO to an iscsi device and
    a single kernel upcall (e.g softirq) is dealing with processing
    of responses without errors, this patch eliminates the contention
    between the queuecommand()/request response/scsi_done() flows
    associated with iscsi sessions.

    Between the forward and the backward locks exists a strict locking
    hierarchy. The mutual exclusion zone protected by the forward lock can
    enclose the mutual exclusion zone protected by the backward lock but not
    vice versa.

    For example, in iscsi_conn_teardown or in iscsi_xmit_data when there is
    a failure and __iscsi_put_task is called, the backward lock is taken while
    the forward lock is still taken. On the other hand, if in the RX path a nop
    is to be sent, for example in iscsi_handle_reject or __iscsi_complete_pdu
    than the forward lock is released and the backward lock is taken for the
    duration of iscsi_send_nopout, later the backward lock is released and the
    forward lock is retaken.

    libiscsi_tcp uses two kernel fifos the r2t pool and the r2t queue.

    The insertion and deletion from these queues didn't corespond to the
    assumption taken by the new forward/backwards session locking paradigm.

    That is, in iscsi_tcp_clenup_task which belongs to the RX (backwards)
    path, r2t is taken out from r2t queue and inserted to the r2t pool.
    In iscsi_tcp_get_curr_r2t which belong to the TX (forward) path, r2t
    is also inserted to the r2t pool and another r2t is pulled from r2t
    queue.

    Only in iscsi_tcp_r2t_rsp which is called in the RX path but can requeue
    to the TX path, r2t is taken from the r2t pool and inserted to the r2t
    queue.

    In order to cope with this situation, two spin locks were added,
    pool2queue and queue2pool. The former protects extracting from the
    r2t pool and inserting to the r2t queue, and the later protects the
    extracing from the r2t queue and inserting to the r2t pool.

    Signed-off-by: Shlomo Pongratz
    Signed-off-by: Or Gerlitz
    [minor fix up to apply cleanly and compile fix]
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Shlomo Pongratz
     

16 Nov, 2013

1 commit

  • Pull trivial tree updates from Jiri Kosina:
    "Usual earth-shaking, news-breaking, rocket science pile from
    trivial.git"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    doc: usb: Fix typo in Documentation/usb/gadget_configs.txt
    doc: add missing files to timers/00-INDEX
    timekeeping: Fix some trivial typos in comments
    mm: Fix some trivial typos in comments
    irq: Fix some trivial typos in comments
    NUMA: fix typos in Kconfig help text
    mm: update 00-INDEX
    doc: Documentation/DMA-attributes.txt fix typo
    DRM: comment: `halve' -> `half'
    Docs: Kconfig: `devlopers' -> `developers'
    doc: typo on word accounting in kprobes.c in mutliple architectures
    treewide: fix "usefull" typo
    treewide: fix "distingush" typo
    mm/Kconfig: Grammar s/an/a/
    kexec: Typo s/the/then/
    Documentation/kvm: Update cpuid documentation for steal time and pv eoi
    treewide: Fix common typo in "identify"
    __page_to_pfn: Fix typo in comment
    Correct some typos for word frequency
    clk: fixed-factor: Fix a trivial typo
    ...

    Linus Torvalds
     

14 Oct, 2013

1 commit


19 Sep, 2013

1 commit

  • commit b9871bcfd211d316adee317608dab44c58d6ea2d
    bnx2x: VF RSS support - PF side

    changed the configuration of the doorbell HW and it broke iSCSI and FCoE.
    We fix this by making compatible changes to the doorbell address in bnx2i
    and bnx2fc. For the userspace driver, we need to pass a modified CID
    so that the existing userspace driver will calculate the correct doorbell
    address and continue to work.

    Signed-off-by: Ariel Elior
    Signed-off-by: Eddie Wai
    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     

06 Sep, 2013

1 commit

  • Pull networking changes from David Miller:
    "Noteworthy changes this time around:

    1) Multicast rejoin support for team driver, from Jiri Pirko.

    2) Centralize and simplify TCP RTT measurement handling in order to
    reduce the impact of bad RTO seeding from SYN/ACKs. Also, when
    both timestamps and local RTT measurements are available prefer
    the later because there are broken middleware devices which
    scramble the timestamp.

    From Yuchung Cheng.

    3) Add TCP_NOTSENT_LOWAT socket option to limit the amount of kernel
    memory consumed to queue up unsend user data. From Eric Dumazet.

    4) Add a "physical port ID" abstraction for network devices, from
    Jiri Pirko.

    5) Add a "suppress" operation to influence fib_rules lookups, from
    Stefan Tomanek.

    6) Add a networking development FAQ, from Paul Gortmaker.

    7) Extend the information provided by tcp_probe and add ipv6 support,
    from Daniel Borkmann.

    8) Use RCU locking more extensively in openvswitch data paths, from
    Pravin B Shelar.

    9) Add SCTP support to openvswitch, from Joe Stringer.

    10) Add EF10 chip support to SFC driver, from Ben Hutchings.

    11) Add new SYNPROXY netfilter target, from Patrick McHardy.

    12) Compute a rate approximation for sending in TCP sockets, and use
    this to more intelligently coalesce TSO frames. Furthermore, add
    a new packet scheduler which takes advantage of this estimate when
    available. From Eric Dumazet.

    13) Allow AF_PACKET fanouts with random selection, from Daniel
    Borkmann.

    14) Add ipv6 support to vxlan driver, from Cong Wang"

    Resolved conflicts as per discussion.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1218 commits)
    openvswitch: Fix alignment of struct sw_flow_key.
    netfilter: Fix build errors with xt_socket.c
    tcp: Add missing braces to do_tcp_setsockopt
    caif: Add missing braces to multiline if in cfctrl_linkup_request
    bnx2x: Add missing braces in bnx2x:bnx2x_link_initialize
    vxlan: Fix kernel panic on device delete.
    net: mvneta: implement ->ndo_do_ioctl() to support PHY ioctls
    net: mvneta: properly disable HW PHY polling and ensure adjust_link() works
    icplus: Use netif_running to determine device state
    ethernet/arc/arc_emac: Fix huge delays in large file copies
    tuntap: orphan frags before trying to set tx timestamp
    tuntap: purge socket error queue on detach
    qlcnic: use standard NAPI weights
    ipv6:introduce function to find route for redirect
    bnx2x: VF RSS support - VF side
    bnx2x: VF RSS support - PF side
    vxlan: Notify drivers for listening UDP port changes
    net: usbnet: update addr_assign_type if appropriate
    driver/net: enic: update enic maintainers and driver
    driver/net: enic: Exposing symbols for Cisco's low latency driver
    ...

    Linus Torvalds
     

24 Aug, 2013

1 commit


03 Aug, 2013

1 commit

  • On some bnx2x devices, iSCSI is determined to be unsupported only after
    firmware is downloaded. We need to check max_iscsi_conn again after
    NETDEV_UP and block iSCSI init operations. Without this fix, iscsiadm
    can hang as the firmware will not respond to the iSCSI init message.

    Signed-off-by: Eddie Wai
    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     

30 Jul, 2013

1 commit


24 Apr, 2013

1 commit


29 Jan, 2013

1 commit


04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    __devinitconst, and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Adam Radford
    Cc: "James E.J. Bottomley"
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

27 Nov, 2012

1 commit

  • Removed the individual PCI DEVICE ID checking inside bnx2i. The device
    type can easily be read from the corresponding cnic->flags. This will
    free bnx2i from having to get updated for every new device ID that gets
    added.

    Signed-off-by: Eddie Wai
    Acked-by: Michael Chan
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Eddie Wai
     

17 Sep, 2012

1 commit

  • This patch fixes the following kernel panic invoked by uninitialized fields
    in the chip initialization for the 1G bnx2 iSCSI offload.

    One of the bits in the chip initialization is being used by the latest
    firmware to control overflow packets. When this control bit gets enabled
    erroneously, it would ultimately result in a bad packet placement which would
    cause the bnx2 driver to dereference a NULL ptr in the placement handler.

    This can happen under certain stress I/O environment under the Linux
    iSCSI offload operation.

    This change only affects Broadcom's 5709 chipset.

    Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP:
    [] :bnx2:bnx2_poll_work+0xd0d/0x13c5
    Pid: 0, comm: swapper Tainted: G ---- 2.6.18-333.el5debug #2
    RIP: 0010:[] [] :bnx2:bnx2_poll_work+0xd0d/0x13c5
    RSP: 0018:ffff8101b575bd50 EFLAGS: 00010216
    RAX: 0000000000000005 RBX: ffff81007c5fb180 RCX: 0000000000000000
    RDX: 0000000000000ffc RSI: 00000000817e8000 RDI: 0000000000000220
    RBP: ffff81015bbd7ec0 R08: ffff8100817e9000 R09: 0000000000000000
    R10: ffff81007c5fb180 R11: 00000000000000c8 R12: 000000007a25a010
    R13: 0000000000000000 R14: 0000000000000005 R15: ffff810159f80558
    FS: 0000000000000000(0000) GS:ffff8101afebc240(0000) knlGS:0000000000000000
    CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
    CR2: 0000000000000008 CR3: 0000000000201000 CR4: 00000000000006a0
    Process swapper (pid: 0, threadinfo ffff8101b5754000, task ffff8101afebd820)
    Stack: 000000000000000b ffff810159f80000 0000000000000040 ffff810159f80520
    ffff810159f80500 00cf00cf8008e84b ffffc200100939e0 ffff810009035b20
    0000502900000000 000000be00000001 ffff8100817e7810 00d08101b575bea8
    Call Trace:
    [] show_schedstat+0x1c2/0x25b
    [] :bnx2:bnx2_poll+0xf6/0x231
    [] net_rx_action+0xac/0x1b1
    [] __do_softirq+0x89/0x133
    [] call_softirq+0x1c/0x28
    [] do_softirq+0x2c/0x7d
    [] do_IRQ+0xee/0xf7
    [] ret_from_intr+0x0/0xa
    [] acpi_processor_idle_simple+0x1c5/0x341
    [] acpi_processor_idle_simple+0x182/0x341
    [] acpi_processor_idle_simple+0x0/0x341
    [] cpu_idle+0x95/0xb8
    [] start_secondary+0x479/0x488

    Signed-off-by: Eddie Wai
    Cc: stable@vger.kernel.org
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Eddie Wai
     

20 Jul, 2012

1 commit


09 Jul, 2012

1 commit


08 Jul, 2012

1 commit

  • The netdev->base_addr parameter has been deprecated in the L2 bnx2
    driver. This is used by bnx2i for the BARn iomapping.

    This patch will directly reference the pci_resource_start instead
    of using the deprecated netdev->base_addr.

    This patch is actually a critical bug fix as the 1G bnx2 driver no
    longer supports the netdev->base_addr in the current kernel of the scsi
    tree. This means that Broadcom's 1G Linux iSCSI offload solution would
    not work at all without this patch.

    Signed-off-by: Eddie Wai
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Eddie Wai
     

27 Jun, 2012

1 commit


10 May, 2012

2 commits


24 Mar, 2012

1 commit

  • Pull networking fixes from David Miller:

    1) L2TP doesn't get autoloaded when you try to open an L2TP socket due
    to a missing module alias, fix from Benjamin LaHaise.

    2) Netlabel and RDS should propagate gfp flags given to them by
    callers, fixes from Dan Carpeneter.

    3) Recursive locking fix in usbnet wasn't bulletproof and can result in
    objects going away mid-flight due to races, fix from Ming Lei.

    4) Fix up some confusion about a bool module parameter in netfilter's
    iptable_filter and ip6table_filter, from Rusty Russell.

    5) If SKB recycling is used via napi_reuse_skb() we end up with
    different amounts of headroom reserved than we had at the original
    SKB allocation. Fix from Eric Dumazet.

    6) Fix races in TG3 driver ring refilling, from Michael Chan.

    7) We have callbacks for IPSEC replay notifiers, but some call sites
    were not using the ops method and instead were calling one of the
    implementations directly. Oops. Fix from Steffen Klassert.

    8) Fix IP address validation properly in the bonding driver, the
    previous fix only works with netlink where the subnet mask and IP
    address are changed in one atomic operation. When 'ifconfig' ioctls
    are used the IP address and the subnet mask are changed in two
    distinct operations. Fix from Andy Gospodarek.

    9) Provide a sky2 module operation to work around power management
    issues with some BIOSes. From Stephen Hemminger.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
    usbnet: consider device busy at each recieved packet
    bonding: remove entries for master_ip and vlan_ip and query devices instead
    netfilter: remove forward module param confusion.
    usbnet: don't clear urb->dev in tx_complete
    usbnet: increase URB reference count before usb_unlink_urb
    xfrm: Access the replay notify functions via the registered callbacks
    xfrm: Remove unused xfrm_state from xfrm_state_check_space
    RDS: use gfp flags from caller in conn_alloc()
    netlabel: use GFP flags from caller instead of GFP_ATOMIC
    l2tp: enable automatic module loading for l2tp_ppp
    cnic: Fix parity error code conflict
    tg3: Fix RSS ring refill race condition
    sky2: override for PCI legacy power management
    net: fix napi_reuse_skb() skb reserve

    Linus Torvalds
     

22 Mar, 2012

1 commit

  • The recently added parity error handling used an error code that was
    already defined for a different error. This could lead to bnx2x
    firmware assert. We need to fix this with new error codes that are
    defined for parity error only.

    Signed-off-by: Michael Chan
    Reviewed-by: Eddie Wai
    Reviewed-by: Bhanu Prakash Gollapudi
    Signed-off-by: David S. Miller

    Michael Chan
     

19 Feb, 2012

1 commit