econet: fix CVE-2010-3850
authorPhil Blundell <philb@gnu.org>
Wed, 24 Nov 2010 19:49:53 +0000 (11:49 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:31 +0000 (13:33 -0800)
commit29d0e9fdced7e35db2ac8ecea49e5bc3c7115b98
tree18f6aa0e9b5374a13d1233893db6f61a53e9769f
parent3ca62aac185300f80dad0e412c1033d2ef8a1b44
econet: fix CVE-2010-3850

commit 16c41745c7b92a243d0874f534c1655196c64b74 upstream.

Add missing check for capable(CAP_NET_ADMIN) in SIOCSIFADDR operation.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/econet/af_econet.c