24 Feb, 2011
7 commits
-
Remove all instances of legacy or proposed-but-not-implemented code
that lives within an #if 0 ... #endif block. If some of it is needed
in the future it can recovered out of history, but there is no need
for it to clutter up the active code base.Signed-off-by: Allan Stephens
Signed-off-by: Paul Gortmaker -
Corrects print statements that use %x to print pointer values to use
%p instead, so that 64-bit pointer values are displayed correctly.Signed-off-by: Allan Stephens
Signed-off-by: Paul Gortmaker -
Enhances TIPC link code to ignore an invalid link tolerance value
contained in an incoming LINK_PROTOCOL message, rather than
processing the value and potentially causing a divide-by-zero error.Also add a compile-time check that catches attempts to redefine
TIPC's minimum link tolerance value in a manner that might result
in the same divide-by-zero error at run-time.Signed-off-by: Allan Stephens
Signed-off-by: Paul Gortmaker -
Reject TIPC configuration service messages without a full message
header. Previously, an application that sent a message to the
configuration service that was too short could cause the validation
code to access an uninitialized field in the msghdr structure,
resulting in a memory access exception.Signed-off-by: Allan Stephens
Signed-off-by: Paul Gortmaker -
Eliminates a global variable that was previously used by TIPC's user
registry to track the number of distinct applications using TIPC. Due to
the recent elimination of the user registry this variable no longer serves
any purpose and can be removed.Signed-off-by: Allan Stephens
Signed-off-by: Paul Gortmaker -
Combines two distinct structures containing information about a TIPC bearer
into a single structure. The structures were previously kept separate so
that public information about a bearer could be made available to plug-in
media types using TIPC's native API, while the remaining information was
kept private for use by TIPC itself. However, now that the native API has
been removed there is no longer any need for this arrangement.Since one of the structures was already embedded within the other, the
change largely involves replacing instances of "publ.foo" with "foo".
The changes do not otherwise alter the operation of TIPC bearers.Signed-off-by: Allan Stephens
Signed-off-by: Paul Gortmaker -
Merge two distinct structures containing information about a TIPC port
into a single structure. The structures were previously kept separate
so that public information about a port could be made available to
applications using TIPC's native API, while the remaining information
was kept private for use by TIPC itself. However, now that the native
API has been removed there is no longer any need for this somewhat
confusing arrangement.Since one of the structures was already embedded within the other, the
change largely involves replacing instances of "publ.foo" with "foo".
The changes do not otherwise alter the operation of TIPC ports.Signed-off-by: Allan Stephens
Signed-off-by: Paul Gortmaker
23 Feb, 2011
32 commits
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Always set to "0".
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Also, make it return a real bool.
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
The variable _data is used in asm-generic to define sections
which causes sparse warnings, so just rename the variable.Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller -
Use hba_port_num for phy loopback and ethtool phy identification.
From: Suresh R
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Add support to display temperature of ASIC via ethtool -S
From: Somnath K
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
With transparent VLAN tagging, the ASIC wrongly indicates packets with VLAN ID.
Strip them off in the driver. The VLAN Tag to be stripped will be given to the host
as an async message.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
change occurances of stats_ioctl_sent to stats_cmd_sent
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
> add missing separator between items in ethtool self_test array
> fix reporting of test resluts when link is down and
when selftest command fails.From: Suresh R
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
New counters:
> jabber frame stats
> red drop statsSigned-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Add proper RCU annotations/verbs to sk_wq and wq members
Fix __sctp_write_space() sk_sleep() abuse (and sock->wq access)
Fix sunrpc sk_sleep() abuse too
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
This commit supports following functions.
- get_settings
- set_settings
- nway_reset
- get_msglevel
- set_msglevel
- get_link
- get_strings
- get_ethtool_stats
- get_sset_countAbout other function, the device does not support.
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: David S. Miller
21 Feb, 2011
1 commit
-
..instead of using hand-crafted and not proper working version.
Signed-off-by: Marc Kleine-Budde