1. 01 12月, 2012 29 次提交
  2. 30 11月, 2012 4 次提交
  3. 29 11月, 2012 7 次提交
    • M
      can: pcan_usb_core: remove obsolete variable open_time · 823d7a1f
      Marc Kleine-Budde 提交于
      The variable open_time in the struct peak_usb_device was used to protect
      peak_usb_set_mode() only to be called, if the interface is up. Now the CAN
      device infrastructure takes care of this.
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      823d7a1f
    • M
      can: esd_usb2: remove obsolete variable open_time · e4287046
      Marc Kleine-Budde 提交于
      The variable open_time in the struct esd_usb2_net_priv was used to protect
      esd_usb2_set_mode() only to be called, if the interface is up. Now the CAN
      device infrastructure takes care of this.
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      e4287046
    • M
      can: ems_usb: remove obsolete variable open_time · 4480c008
      Marc Kleine-Budde 提交于
      The variable open_time in the struct ems_usb was used to protect
      ems_usb_set_mode() only to be called, if the interface is up. Now the CAN
      device infrastructure takes care of this.
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      4480c008
    • M
      can: sja1000: remove obsolete variable open_time · b2d0bf71
      Marc Kleine-Budde 提交于
      The variable open_time in the struct sja1000_priv was used to protect
      sja1000_set_mode() only to be called, if the interface is up. Now the CAN
      device infrastructure takes care of this.
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      b2d0bf71
    • M
      can: mscan: remove obsolete variable open_time · 49ed59b7
      Marc Kleine-Budde 提交于
      The variable open_time in the struct mscan_priv was used to protect
      mscan_do_set_mode() only to be called, if the interface is up. Now the CAN
      device infrastructure takes care of this.
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      49ed59b7
    • A
      can: Do not call dev_put if restart timer is running upon close · ab48b03e
      Alexander Stein 提交于
      If the restart timer is running due to BUS-OFF and the device is
      disconnected an dev_put will decrease the usage counter to -1 thus
      blocking the interface removal, resulting in the following dmesg
      lines repeating every 10s:
      can: notifier: receive list not found for dev can0
      can: notifier: receive list not found for dev can0
      can: notifier: receive list not found for dev can0
      unregister_netdevice: waiting for can0 to become free. Usage count = -1
      
      Cc: linux-stable <stable@vger.kernel.org>
      Signed-off-by: NAlexander Stein <alexander.stein@systec-electronic.com>
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      ab48b03e
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · e9296e89
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
       "Some more fixes trickled in over the past few days:
      
         1) PIM device names can overflow the IFNAMSIZ buffer unless we
            properly limit the allowed indexes, fix from Eric Dumazet.
      
         2) Under heavy load we can OOPS in icmp reply processing due to an
            unchecked inet_putpeer() call.  Fix from Neal Cardwell.
      
         3) SCTP round trip calculations need to use 64-bit math to avoid
            overflows, fix from Schoch Christian.
      
         4) Fix a memory leak and an error return flub in SCTP and IRDA
            triggerable by userspace.  Fix from Tommi Rantala and found by the
            syscall fuzzer (trinity).
      
         5) MLX4 driver gives bogus size to memcpy() call, fix from Amir
            Vadai.
      
         6) Fix length calculation in VHOST descriptor translation, from
            Michael S Tsirkin.
      
         7) Ambassador ATM driver loops forever while loading firmware, fix
            from Dan Carpenter.
      
         8) Over MTU packets in openvswitch warn about wrong device, fix from
            Jesse Gross.
      
         9) Netfilter IPSET's netlink code can overrun a string buffer because
            it's not properly limited to IFNAMSIZ.  Fix from Florian Westphal.
      
        10) PCAN USB driver sets wrong timestamp in SKB, from Oliver Hartkopp.
      
        11) Make sure the RX ifindex always has a valid value in the CAN BCM
            driver, even if we haven't received a frame yet.  Fix also from
            Oliver Hartkopp."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
        team: fix hw_features setup
        atm: forever loop loading ambassador firmware
        vhost: fix length for cross region descriptor
        irda: irttp: fix memory leak in irttp_open_tsap() error path
        net: qmi_wwan: add Huawei E173
        net/mlx4_en: Can set maxrate only for TC0
        sctp: Error in calculation of RTTvar
        sctp: fix -ENOMEM result with invalid user space pointer in sendto() syscall
        sctp: fix memory leak in sctp_datamsg_from_user() when copy from user space fails
        net: ipmr: limit MRT_TABLE identifiers
        ipv4: avoid passing NULL to inet_putpeer() in icmpv4_xrlim_allow()
        can: bcm: initialize ifindex for timeouts without previous frame reception
        can: peak_usb: fix hwtstamp assignment
        netfilter: ipset: fix netiface set name overflow
        openvswitch: Store flow key len if ARP opcode is not request or reply.
        openvswitch: Print device when warning about over MTU packets.
      e9296e89