1. 30 11月, 2014 1 次提交
  2. 27 11月, 2014 23 次提交
  3. 26 11月, 2014 3 次提交
  4. 25 11月, 2014 9 次提交
    • G
      net/smsc911x: Add minimal runtime PM support · 3a611e26
      Geert Uytterhoeven 提交于
      Add minimal runtime PM support (enable on probe, disable on remove), to
      ensure proper operation with a parent device that uses runtime PM.
      
      This is needed on systems where the external bus controller module of
      the SoC is contained in a PM domain and/or has a gateable functional
      clock. In such cases, before accessing any device connected to the
      external bus, the PM domain must be powered up, and/or the functional
      clock must be enabled, which is typically handled through runtime PM by
      the bus controller driver.
      
      An example of this is the kzm9g development board, where an smsc9220
      Ethernet controller is connected to the Bus State Controller (BSC) of a
      Renesas sh73a0 SoC.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3a611e26
    • R
      tipc: add tipc_netlink.h to uapi Kbuild · 4f037215
      Richard Alpe 提交于
      tipc_netlink.h is the user-space header for the new netlink api. It
      was accidentally left out of the uapi Kbuild list when the api was
      added.
      Signed-off-by: NRichard Alpe <richard.alpe@ericsson.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4f037215
    • T
      rhashtable: Check for count mismatch while iterating in selftest · 3e7b2ec4
      Thomas Graf 提交于
      Verify whether both the lock and RCU protected iterators see all
      test entries before and after expanding and shrinking has been
      performed. Also verify whether the number of entries in the hashtable
      remains stable during expansion and shrinking.
      Signed-off-by: NThomas Graf <tgraf@suug.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3e7b2ec4
    • J
      tc_vlan: fix type of tcfv_push_vid · 08dcf9fd
      Jiri Pirko 提交于
      Should be u16. So fix it to kill the sparse warning.
      
      Fixes: c7e2b968 "sched: introduce vlan action"
      Signed-off-by: NJiri Pirko <jiri@resnulli.us>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      08dcf9fd
    • R
      tipc: fix sparse warnings in new nl api · d8182804
      Richard Alpe 提交于
      Fix sparse warnings about non-static declaration of static functions
      in the new tipc netlink API.
      Signed-off-by: NRichard Alpe <richard.alpe@ericsson.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d8182804
    • D
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next · 958d03b0
      David S. Miller 提交于
      Pablo Neira Ayuso says:
      
      ====================
      netfilter/ipvs updates for net-next
      
      The following patchset contains Netfilter updates for your net-next
      tree, this includes the NAT redirection support for nf_tables, the
      cgroup support for nft meta and conntrack zone support for the connlimit
      match. Coming after those, a bunch of sparse warning fixes, missing
      netns bits and cleanups. More specifically, they are:
      
      1) Prepare IPv4 and IPv6 NAT redirect code to use it from nf_tables,
         patches from Arturo Borrero.
      
      2) Introduce the nf_tables redir expression, from Arturo Borrero.
      
      3) Remove an unnecessary assignment in ip_vs_xmit/__ip_vs_get_out_rt().
         Patch from Alex Gartrell.
      
      4) Add nft_log_dereference() macro to the nf_log infrastructure, patch
         from Marcelo Leitner.
      
      5) Add some extra validation when registering logger families, also
         from Marcelo.
      
      6) Some spelling cleanups from stephen hemminger.
      
      7) Fix sparse warning in nf_logger_find_get().
      
      8) Add cgroup support to nf_tables meta, patch from Ana Rey.
      
      9) A Kconfig fix for the new redir expression and fix sparse warnings in
         the new redir expression.
      
      10) Fix several sparse warnings in the netfilter tree, from
          Florian Westphal.
      
      11) Reduce verbosity when OOM in nfnetlink_log. User can basically do
          nothing when this situation occurs.
      
      12) Add conntrack zone support to xt_connlimit, again from Florian.
      
      13) Add netnamespace support to the h323 conntrack helper, contributed
          by Vasily Averin.
      
      14) Remove unnecessary nul-pointer checks before free_percpu() and
          module_put(), from Markus Elfring.
      
      15) Use pr_fmt in nfnetlink_log, again patch from Marcelo Leitner.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      958d03b0
    • M
      ipvlan: Initial check-in of the IPVLAN driver. · 2ad7bf36
      Mahesh Bandewar 提交于
      This driver is very similar to the macvlan driver except that it
      uses L3 on the frame to determine the logical interface while
      functioning as packet dispatcher. It inherits L2 of the master
      device hence the packets on wire will have the same L2 for all
      the packets originating from all virtual devices off of the same
      master device.
      
      This driver was developed keeping the namespace use-case in
      mind. Hence most of the examples given here take that as the
      base setup where main-device belongs to the default-ns and
      virtual devices are assigned to the additional namespaces.
      
      The device operates in two different modes and the difference
      in these two modes in primarily in the TX side.
      
      (a) L2 mode : In this mode, the device behaves as a L2 device.
      TX processing upto L2 happens on the stack of the virtual device
      associated with (namespace). Packets are switched after that
      into the main device (default-ns) and queued for xmit.
      
      RX processing is simple and all multicast, broadcast (if
      applicable), and unicast belonging to the address(es) are
      delivered to the virtual devices.
      
      (b) L3 mode : In this mode, the device behaves like a L3 device.
      TX processing upto L3 happens on the stack of the virtual device
      associated with (namespace). Packets are switched to the
      main-device (default-ns) for the L2 processing. Hence the routing
      table of the default-ns will be used in this mode.
      
      RX processins is somewhat similar to the L2 mode except that in
      this mode only Unicast packets are delivered to the virtual device
      while main-dev will handle all other packets.
      
      The devices can be added using the "ip" command from the iproute2
      package -
      
      	ip link add link <master> <virtual> type ipvlan mode [ l2 | l3 ]
      Signed-off-by: NMahesh Bandewar <maheshb@google.com>
      Cc: Eric Dumazet <edumazet@google.com>
      Cc: Maciej Żenczykowski <maze@google.com>
      Cc: Laurent Chavey <chavey@google.com>
      Cc: Tim Hockin <thockin@google.com>
      Cc: Brandon Philips <brandon.philips@coreos.com>
      Cc: Pavel Emelianov <xemul@parallels.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2ad7bf36
    • A
      8139too: The maximum MTU should allow for VLAN headers · 2bbea0a8
      Alban Bedel 提交于
      As pointed out by Ben Hutchings drivers that allow using VLAN have to
      provide enough headroom for the VLAN tags.
      Signed-off-by: NAlban Bedel <albeu@free.fr>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2bbea0a8
    • N
      net: fec: init maximum receive buffer size for ring1 and ring2 · d543a762
      Nimrod Andy 提交于
      i.MX6SX fec support three rx ring1, the current driver lost to init
      ring1 and ring2 maximum receive buffer size, that cause receving
      frame date length error. The driver reports "rcv is not +last" error
      log in user case.
      Signed-off-by: NFugang Duan <B38611@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d543a762
  5. 24 11月, 2014 4 次提交