]> git.baikalelectronics.ru Git - kernel.git/commit
qeth: return with -EPERM if sniffing is not enabled
authorUrsula Braun <ursula.braun@de.ibm.com>
Tue, 15 Nov 2011 02:31:12 +0000 (02:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2011 22:27:59 +0000 (17:27 -0500)
commitad991a3a8fc46b1f364789f377638fd1a2257fb0
treebb81001ae6dcfd8e1abbeb1ad11c41400f359cb9
parentbcad328ddbd847bfb6d3fa3506c07acf22b3e9b7
qeth: return with -EPERM if sniffing is not enabled

Without appropriate configuration at the SE, a HiperSockets device
cannot be used for sniffing. Setting the sniffer attribute is rejected
with -EPERM.

Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_sys.c