aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Greene <[email protected]>2012-12-03 06:19:33 +0000
committerDavid S. Miller <[email protected]>2012-12-03 13:51:16 -0500
commitcb64edb6b89491edfdbae52ba7db9a8b8391d339 (patch)
tree17ee6f67794d8c68be8a1ae572812ab26f673108 /tools/perf/scripts/python
parenteb0fb363f920e4d8c70d30b712f9dd433271218c (diff)
8139cp: properly support change of MTU values [v2]
The 8139cp driver has a change_mtu function that has not been enabled since the dawn of the git repository. However, the generic eth_change_mtu is not used in its place, so that invalid MTU values can be set on the interface. Original patch salvages the broken code for the single case of setting the MTU while the interface is down, which is safe and also includes the range check. Now enhanced to support up or down interface. v2: fix case where rxbufsz isn't changed in the up state case Original patch from http://lkml.indiana.edu/hypermail/linux/kernel/1202.2/00770.html Testing: has been test on virtual 8139cp setup without issue, have no access real hardware 8139cp, need testing help. Signed-off-by: "John Greene" <[email protected]> CC: "David S. Miller" <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions