1. 09 Jan, 2013 8 commits
    • Jiri Pirko's avatar
      net: init perm_addr in register_netdevice() · 948b337e
      Jiri Pirko authored
      Benefit from the fact that dev->addr_assign_type is set to NET_ADDR_PERM
      in case the device has permanent address.
      
      This also fixes the problem that many drivers do not set perm_addr at
      all.
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      948b337e
    • Cong Wang's avatar
      netconsole: add IPv6 example in doc · 7265a6bb
      Cong Wang authored
      Update the netconsole document as well.
      
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarCong Wang <amwang@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7265a6bb
    • Cong Wang's avatar
      netpoll: add IPv6 support · b3d936f3
      Cong Wang authored
      Currently, netpoll only supports IPv4. This patch adds IPv6
      support to netpoll so that we can run netconsole over IPv6 network.
      
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarCong Wang <amwang@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b3d936f3
    • Cong Wang's avatar
      ipv6: move csum_ipv6_magic() and udp6_csum_init() into static library · acb3e041
      Cong Wang authored
      As suggested by David, udp6_csum_init() is too big to be inlined,
      move it to ipv6 static library, net/ipv6/ip6_checksum.c.
      
      And the generic csum_ipv6_magic() too.
      
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarCong Wang <amwang@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      acb3e041
    • Cong Wang's avatar
      netpoll: prepare for ipv6 · b7394d24
      Cong Wang authored
      This patch adjusts some struct and functions, to prepare
      for supporting IPv6.
      
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarCong Wang <amwang@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b7394d24
    • Fabio Estevam's avatar
      net: fec: Remove 'inline' declarations · 0c7768a0
      Fabio Estevam authored
      Fix the following warning when building with W=1 option:
      
      drivers/net/ethernet/freescale/fec.c:810:1: warning: '__inline__' is not at beginning of declaration [-Wold-style-declaration]
      
      The inline declaration is pointless in this function, so just remove it.
      
      While at it, also remove the other 'inline' declarations.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0c7768a0
    • Eric Dumazet's avatar
      net: introduce skb_transport_header_was_set() · fda55eca
      Eric Dumazet authored
      We have skb_mac_header_was_set() helper to tell if mac_header
      was set on a skb. We would like the same for transport_header.
      
      __netif_receive_skb() doesn't reset the transport header if already
      set by GRO layer.
      
      Note that network stacks usually reset the transport header anyway,
      after pulling the network header, so this change only allows
      a followup patch to have more precise qdisc pkt_len computation
      for GSO packets at ingress side.
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Jamal Hadi Salim <jhs@mojatatu.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fda55eca
    • David S. Miller's avatar
      Merge branch 'delete-8390-EISA' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux · 0edb7ede
      David S. Miller authored
      Paul Gortmaker says:
      
      ====================
      I'd like to propose that we get rid of these old 8390 EISA drivers.
      Of the five deleted here, I wrote four -- and while that doesn't give
      me any authority for deletion above anyone else, it does at least
      allow me to comment on the absolute absence of anyone reaching
      out to the driver author for assistance in the last dozen years.
      
      Eventually we'll probably get rid of EISA bus support, since in
      x86, the hardware is close to 20 years old and already too resource
      constrained to be useful today.  However there might still be
      a few DEC Alpha enthusiasts with old EISA machines kept alive,
      and so I expect we'll have to wait a bit longer to get unanimous
      agreement to proceed with the full EISA removal (although I'd
      love to be proven wrong on that).
      
      Most of the DEC Alpha machines shipped in a PCI configuration, and
      even the few that were EISA had DEC tulip based ethernet and no
      reason to be needing the inferior 8390 technology.  So the interest
      here for any possible DEC enthusiasts with EISA boxes about these
      old 8390 drivers should be nil.
      
      These really were rare cards -- in fact the smc-ultra32 is the only
      one that I'd ever seen in person.  Even back in the mid 90's when
      the drivers were written, I would guess that the user base was less
      than 10 people across all of them.
      
      The following patch was created with --irreversible-delete for
      ease of review (it skips showing the content of files that are
      deleted); however the complete patch can be pulled as per below.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0edb7ede
  2. 08 Jan, 2013 5 commits
  3. 07 Jan, 2013 14 commits
  4. 04 Jan, 2013 13 commits