]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.25/patches.arch/s390-02-07-qeth-ipv6check.patch
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.arch / s390-02-07-qeth-ipv6check.patch
CommitLineData
00e5a55c
BS
1From: Gerald Schaefer <geraldsc@de.ibm.com>
2Subject: qeth: remove unnecessary support ckeck in sysfs route6
3References: bnc#434333
4
5Symptom: route6 attribute can not be set in initial device condition
6Problem: Usability
7Solution: Remove this check improves usability because you do not have to
8 set the device online to initially set ipv6 routing option.
9
10Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
11
12Acked-by: John Jolly <jjolly@suse.de>
13---
14
15 drivers/s390/net/qeth_l3_sys.c | 7 -------
16 1 file changed, 7 deletions(-)
17
18Index: linux-sles11/drivers/s390/net/qeth_l3_sys.c
19===================================================================
20--- linux-sles11.orig/drivers/s390/net/qeth_l3_sys.c
21+++ linux-sles11/drivers/s390/net/qeth_l3_sys.c
22@@ -121,9 +121,6 @@ static ssize_t qeth_l3_dev_route6_show(s
23 if (!card)
24 return -EINVAL;
25
26- if (!qeth_is_supported(card, IPA_IPV6))
27- return sprintf(buf, "%s\n", "n/a");
28-
29 return qeth_l3_dev_route_show(card, &card->options.route6, buf);
30 }
31
32@@ -135,10 +132,6 @@ static ssize_t qeth_l3_dev_route6_store(
33 if (!card)
34 return -EINVAL;
35
36- if (!qeth_is_supported(card, IPA_IPV6)) {
37- return -EOPNOTSUPP;
38- }
39-
40 return qeth_l3_dev_route_store(card, &card->options.route6,
41 QETH_PROT_IPV6, buf, count);
42 }