1. 10 Jan, 2014 5 commits
    • Hariprasad Shenai's avatar
    • Kuninori Morimoto's avatar
      irda: sh_sir: use devm_request_irq() · 4acb4d6c
      Kuninori Morimoto authored
      Huqiu reported current sh_sir driver doesn't
      call free_irq() in spite of using request_irq().
      This patch replaces request_irq() into devm_request_irq()
      to solve this issue
      
      Reported-by: Huqiu Liu<huqiuliu@gmail.com>
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4acb4d6c
    • Kuninori Morimoto's avatar
      irda: sh_irda: use devm_request_irq() · 033b06eb
      Kuninori Morimoto authored
      Huqiu reported current sh_irda driver doesn't
      call free_irq() in spite of using request_irq().
      This patch replaces request_irq() into devm_request_irq()
      to solve this issue
      
      Reported-by: Huqiu Liu<huqiuliu@gmail.com>
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      033b06eb
    • Kuninori Morimoto's avatar
      irda: fixup SH_SIR position on Kconfig · 90e8c72e
      Kuninori Morimoto authored
      SH_SIR is not Dongle
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      90e8c72e
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nftables · 751fcac1
      David S. Miller authored
      Pablo Neira Ayuso says:
      
      ====================
      nf_tables updates for net-next
      
      The following patchset contains the following nf_tables updates,
      mostly updates from Patrick McHardy, they are:
      
      * Add the "inet" table and filter chain type for this new netfilter
        family: NFPROTO_INET. This special table/chain allows IPv4 and IPv6
        rules, this should help to simplify the burden in the administration
        of dual stack firewalls. This also includes several patches to prepare
        the infrastructure for this new table and a new meta extension to
        match the layer 3 and 4 protocol numbers, from Patrick McHardy.
      
      * Load both IPv4 and IPv6 conntrack modules in nft_ct if the rule is used
        in NFPROTO_INET, as we don't certainly know which one would be used,
        also from Patrick McHardy.
      
      * Do not allow to delete a table that contains sets, otherwise these
        sets become orphan, from Patrick McHardy.
      
      * Hold a reference to the corresponding nf_tables family module when
        creating a table of that family type, to avoid the module deletion
        when in use, from Patrick McHardy.
      
      * Update chain counters before setting the chain policy to ensure that
        we don't leave the chain in inconsistent state in case of errors (aka.
        restore chain atomicity). This also fixes a possible leak if it fails
        to allocate the chain counters if no counters are passed to be restored,
        from Patrick McHardy.
      
      * Don't check for overflows in the table counter if we are just renaming
        a chain, from Patrick McHardy.
      
      * Replay the netlink request after dropping the nfnl lock to load the
        module that supports provides a chain type, from Patrick.
      
      * Fix chain type module references, from Patrick.
      
      * Several cleanups, function renames, constification and code
        refactorizations also from Patrick McHardy.
      
      * Add support to set the connmark, this can be used to set it based on
        the meta mark (similar feature to -j CONNMARK --restore), from
        Kristian Evensen.
      
      * A couple of fixes to the recently added meta/set support and nft_reject,
        and fix missing chain type unregistration if we fail to register our
        the family table/filter chain type, from myself.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      751fcac1
  2. 09 Jan, 2014 33 commits
  3. 08 Jan, 2014 2 commits
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next · 54b553e2
      David S. Miller authored
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter updates for net-next
      
      The following patchset contains three Netfilter updates, they are:
      
      * Fix wrong usage of skb_header_pointer in the DCCP protocol helper that
        has been there for quite some time. It was resulting in copying the dccp
        header to a pointer allocated in the stack. Fortunately, this pointer
        provides room for the dccp header is 4 bytes long, so no crashes have been
        reported so far. From Daniel Borkmann.
      
      * Use format string to print in the invocation of nf_log_packet(), again
        in the DCCP helper. Also from Daniel Borkmann.
      
      * Revert "netfilter: avoid get_random_bytes call" as prandom32 does not
        guarantee enough entropy when being calling this at boot time, that may
        happen when reloading the rule.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      54b553e2
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 80077935
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates
      
      This series contains updates to i40e only.
      
      Anjali adds more functionality to debugfs to assist development and
      testing of admin queue commands.
      
      Greg makes sure broadcast promiscuous is disabled by default, otherwise
      VLAN tagged packets out of the assigned VLAN domain are received.  Also
      provides a fix when the 8021q driver is loaded, so that VLAN 0 tagged
      packets are accepted so that upper layers can interpret the priority
      bits. Then provides a fix to let the VF to request the PF to set its
      already assigned MAC address without generating an error.  Greg also
      adds helper functions to enable or disable internal switch loopback
      when VFs are created or destroyed via the sysfs interface.
      
      Shannon provides most of the changes, where he adds code to ensure
      that the hardware waits to make sure that the firmware is ready as well
      after reset.  Also updates the code to use the new features in the
      firmware.  Provides a fix while in MFP mode where resources are
      reduced, so use a smaller range of test registers than when in SFP mode.
      Moves the PF ID initialization code to earlier in the driver
      initialization function since a few operations need the information
      before the first PF reset is called.  Shannon adds a check for MAC
      type before reading anything from the registers to ensure we dealing
      with the correct MAC type.  Then reworks Shadow RAM read word/buffer
      functions as to not block whole NVM resources for SR read operations.
      
      Mitch lastly provides a fix to correctly setup ARQ descriptors in
      the cleanup code.
      
      Catherine bumps the driver version due to all the recent changes.
      
      v2:
       - Added blank lines after local variable declarations to patch 01
         as suggested by David Miller
       - Used the suggested memset() line in patch 15 as suggested by David
         Miller
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      80077935