11 Jul, 2012

1 commit


09 Jul, 2012

2 commits

  • The comments were wrong here because "AX25_MAX_DIGIS" is 8 but the
    comments say 6. Also I've changed the "7" to "AX25_ADDR_LEN".

    Signed-off-by: Dan Carpenter
    Signed-off-by: David S. Miller

    Dan Carpenter
     
  • While doing some recent work on sctp sack bundling I noted that
    sctp_packet_append_chunk was pretty inefficient. Specifially, it was called
    recursively while trying to bundle auth and sack chunks. Because of that we
    call sctp_packet_bundle_sack and sctp_packet_bundle_auth a total of 4 times for
    every call to sctp_packet_append_chunk, knowing that at least 3 of those calls
    will do nothing.

    So lets refactor sctp_packet_bundle_auth to have an outer part that does the
    attempted bundling, and an inner part that just does the chunk appends. This
    saves us several calls per iteration that we just don't need.

    Also, noticed that the auth and sack bundling fail to free the chunks they
    allocate if the append fails, so make sure we add that in

    Signed-off-by: Neil Horman
    CC: Vlad Yasevich
    CC: "David S. Miller"
    CC: linux-sctp@vger.kernel.org
    Acked-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Neil Horman
     

08 Jul, 2012

2 commits


06 Jul, 2012

4 commits


05 Jul, 2012

25 commits


04 Jul, 2012

3 commits

  • This ematch makes it possible to classify CAN frames (AF_CAN) according
    to their identifiers. This functionality can not be easily achieved with
    existing classifiers, such as u32, because CAN identifier is always stored
    in native endianness, whereas u32 expects Network byte order.

    Signed-off-by: Rostislav Lisovy
    Signed-off-by: Oliver Hartkopp
    Signed-off-by: Marc Kleine-Budde

    Rostislav Lisovy
     
  • Pull networking update from David Miller:

    1) Fix RX sequence number handling in mwifiex, from Stone Piao.

    2) Netfilter ipset mis-compares device names, fix from Florian
    Westphal.

    3) Fix route leak in ipv6 IPVS, from Eric Dumazet.

    4) NFS fixes. Several buffer overflows in NCI layer from Dan
    Rosenberg, and release sock OOPS'er fix from Eric Dumazet.

    5) Fix WEP handling ath9k, we started using a bit the chip provides to
    indicate undecrypted packets but that bit turns out to be unreliable
    in certain configurations. Fix from Felix Fietkau.

    6) Fix Kconfig dependency bug in wlcore, from Randy Dunlap.

    7) New USB IDs for rtlwifi driver from Larry Finger.

    8) Fix crashes in qmi_wwan usbnet driver when disconnecting, from Bjørn
    Mork.

    9) Gianfar driver programs coalescing settings properly in single queue
    mode, but does not do so in multi-queue mode. Fix from Claudiu
    Manoil.

    10) Missing module.h include in davinci_cpdma.c, from Daniel Mack.

    11) Need dummy handler for IPSET_CMD_NONE otherwise we crash in ipset if
    we get this via nfnetlink, fix from Tomasz Bursztyka.

    12) Missing RCU unlock in nfnetlink error path, also from Tomasz.

    13) Fix divide by zero in igbvf when the user tries to set an RX
    coalescing value of 0 usecs, from Mitch A Williams.

    14) We can process SCTP sacks for the wrong transport, oops. Fix from
    Neil Horman.

    15) Remove hw IP payload checksumming from e1000e driver. This has zery
    value in our stack, and turning it on creates a very unintuitive
    restriction for users when using jumbo MTUs.

    Specifically, when IP payload checksums are on you cannot use both
    receive hashing offload and jumbo MTU. Fix from Bruce Allan.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (27 commits)
    e1000e: remove use of IP payload checksum
    sctp: be more restrictive in transport selection on bundled sacks
    igbvf: fix divide by zero
    netfilter: nfnetlink: fix missing rcu_read_unlock in nfnetlink_rcv_msg
    netfilter: ipset: fix crash if IPSET_CMD_NONE command is sent
    davinci_cpdma: include linux/module.h
    gianfar: Fix RXICr/TXICr programming for multi-queue mode
    net: Downgrade CAP_SYS_MODULE deprecated message from error to warning.
    net: qmi_wwan: fix Oops while disconnecting
    mwifiex: fix memory leak associated with IE manamgement
    ath9k: fix panic caused by returning a descriptor we have queued for reuse
    mac80211: correct behaviour on unrecognised action frames
    ath9k: enable serialize_regmode for non-PCIE AR9287
    rtlwifi: rtl8192cu: New USB IDs
    NFC: Return from rawsock_release when sk is NULL
    iwlwifi: fix activating inactive stations
    wlcore: drop INET dependency
    ath9k: fix dynamic WEP related regression
    NFC: Prevent multiple buffer overflows in NCI
    netfilter: update location of my trees
    ...

    Linus Torvalds
     
  • Pull block bits from Jens Axboe:
    "As vacation is coming up, thought I'd better get rid of my pending
    changes in my for-linus branch for this iteration. It contains:

    - Two patches for mtip32xx. Killing a non-compliant sysfs interface
    and moving it to debugfs, where it belongs.

    - A few patches from Asias. Two legit bug fixes, and one killing an
    interface that is no longer in use.

    - A patch from Jan, making the annoying partition ioctl warning a bit
    less annoying, by restricting it to !CAP_SYS_RAWIO only.

    - Three bug fixes for drbd from Lars Ellenberg.

    - A fix for an old regression for umem, it hasn't really worked since
    the plugging scheme was changed in 3.0.

    - A few fixes from Tejun.

    - A splice fix from Eric Dumazet, fixing an issue with pipe
    resizing."

    * 'for-linus' of git://git.kernel.dk/linux-block:
    scsi: Silence unnecessary warnings about ioctl to partition
    block: Drop dead function blk_abort_queue()
    block: Mitigate lock unbalance caused by lock switching
    block: Avoid missed wakeup in request waitqueue
    umem: fix up unplugging
    splice: fix racy pipe->buffers uses
    drbd: fix null pointer dereference with on-congestion policy when diskless
    drbd: fix list corruption by failing but already aborted reads
    drbd: fix access of unallocated pages and kernel panic
    xen/blkfront: Add WARN to deal with misbehaving backends.
    blkcg: drop local variable @q from blkg_destroy()
    mtip32xx: Create debugfs entries for troubleshooting
    mtip32xx: Remove 'registers' and 'flags' from sysfs
    blkcg: fix blkg_alloc() failure path
    block: blkcg_policy_cfq shouldn't be used if !CONFIG_CFQ_GROUP_IOSCHED
    block: fix return value on cfq_init() failure
    mtip32xx: Remove version.h header file inclusion
    xen/blkback: Copy id field when doing BLKIF_DISCARD.

    Linus Torvalds
     

02 Jul, 2012

3 commits