qeth: return with -EPERM if sniffing is not enabled
commit6cc31d09bedeb6f25951b18c23b6aee5df0a242c
authorUrsula Braun <ursula.braun@de.ibm.com>
Tue, 15 Nov 2011 02:31:12 +0000 (15 02:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2011 22:27:59 +0000 (16 17:27 -0500)
treebb81001ae6dcfd8e1abbeb1ad11c41400f359cb9
parent709e8697af1c86772c1a6fccda6d4b0e2e226547
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