]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
IPoIB: Only allow root to change between datagram and connected mode
authorRoland Dreier <rolandd@cisco.com>
Fri, 16 Feb 2007 21:57:33 +0000 (13:57 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 16 Feb 2007 21:57:33 +0000 (13:57 -0800)
commit551fd6122d247d76124c4fdb6eb898cc8e3d74aa
tree7c763975905a9e0629f2032ba5cbcfa5d8dd79c0
parent11282b32a4ed7bb5fc390c83a1d6b9bc8017882c
IPoIB: Only allow root to change between datagram and connected mode

Change the permissions of the "mode" sysfs attribute to be S_IWUSR
instead of S_IWUGO.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c