1. 16 4月, 2010 3 次提交
  2. 15 4月, 2010 4 次提交
  3. 14 4月, 2010 8 次提交
  4. 13 4月, 2010 10 次提交
  5. 12 4月, 2010 4 次提交
  6. 11 4月, 2010 1 次提交
  7. 10 4月, 2010 3 次提交
  8. 09 4月, 2010 4 次提交
  9. 08 4月, 2010 3 次提交
    • C
      net: fix ethtool coding style errors and warnings · 97f8aefb
      chavey 提交于
      Fix coding style errors and warnings output while running checkpatch.pl
      on the files net/core/ethtool.c and include/linux/ethtool.h
      Signed-off-by: Nchavey <chavey@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      97f8aefb
    • J
      x.25 attempts to negotiate invalid throughput · ddd0451f
      John Hughes 提交于
      The current X.25 code has some bugs in throughput negotiation:
      
         1. It does negotiation in all cases, usually there is no need
         2. It incorrectly attempts to negotiate the throughput class in one
            direction only.  There are separate throughput classes for input
            and output and if either is negotiated both mist be negotiates.
      
      This is bug https://bugzilla.kernel.org/show_bug.cgi?id=15681
      
      This bug was first reported by Daniel Ferenci to the linux-x25 mailing
      list on 6/8/2004, but is still present.
      
      The current (2.6.34) x.25 code doesn't seem to know that the X.25
      throughput facility includes two values, one for the required
      throughput outbound, one for inbound.
      
      This causes it to attempt to negotiate throughput 0x0A, which is
      throughput 9600 inbound and the illegal value "0" for inbound
      throughput.
      
      Because of this some X.25 devices (e.g. Cisco 1600) refuse to connect
      to Linux X.25.
      
      The following patch fixes this behaviour.  Unless the user specifies a
      required throughput it does not attempt to negotiate.  If the user
      does not specify a throughput it accepts the suggestion of the remote
      X.25 system.  If the user requests a throughput then it validates both
      the input and output throughputs and correctly negotiates them with
      the remote end.
      Signed-off-by: NJohn Hughes <john@calva.com>
      Tested-by: NAndrew Hendry <andrew.hendry@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ddd0451f
    • J
      x25: Patch to fix bug 15678 - x25 accesses fields beyond end of packet. · f5eb917b
      John Hughes 提交于
      Here is a patch to stop X.25 examining fields beyond the end of the packet.
      
      For example, when a simple CALL ACCEPTED was received:
      
      	10 10 0f
      
      x25_parse_facilities was attempting to decode the FACILITIES field, but this
      packet contains no facilities field.
      Signed-off-by: NJohn Hughes <john@calva.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f5eb917b