android_kernel_xiaomi_sm8350/net/tipc
Allan Stephens 59f0c4523f tipc: Fix skb_under_panic when configuring TIPC without privileges
This patch prevents a TIPC configuration command requiring network
administrator privileges from triggering an skbuff underrun if it
is issued by a process lacking those privileges.  The revised error
handling code avoids the use of a potentially uninitialized global
variable by transforming the unauthorized command into a new command,
then following the standard command processing path to generate the
required error message.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-21 14:52:30 -07:00
..
addr.c
addr.h
bcast.c
bcast.h
bearer.c
bearer.h
cluster.c tipc: fix integer as NULL pointer sparse warnings in tipc 2008-02-24 18:38:31 -08:00
cluster.h
config.c tipc: Fix skb_under_panic when configuring TIPC without privileges 2008-05-21 14:52:30 -07:00
config.h
core.c tipc: Consolidate subscriber & subscriber port references 2008-05-19 13:29:47 -07:00
core.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-05-15 00:34:44 -07:00
dbg.c tipc: Exclude debug-only print buffer code when not debugging 2008-05-05 01:24:06 -07:00
dbg.h tipc: Elimination of print buffer chaining 2008-05-05 01:22:30 -07:00
discover.c
discover.h
eth_media.c [NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS. 2008-03-26 04:39:53 +09:00
handler.c
Kconfig
link.c tipc: Exclude debug-only print buffer code when not debugging 2008-05-05 01:24:06 -07:00
link.h
Makefile
msg.c tipc: Exclude debug-only print buffer code when not debugging 2008-05-05 01:24:06 -07:00
msg.h tipc: endianness annotations 2008-04-27 14:26:49 -07:00
name_distr.c tipc: Fix null pointer dereference in debug code 2008-05-05 01:21:54 -07:00
name_distr.h
name_table.c tipc: Enhancements to name table initialization 2008-05-12 15:41:53 -07:00
name_table.h
net.c
net.h
netlink.c tipc: Fix skb_under_panic when configuring TIPC without privileges 2008-05-21 14:52:30 -07:00
node_subscr.c
node_subscr.h
node.c
node.h
port.c tipc: Fix race condition when creating socket or native port 2008-05-12 15:42:28 -07:00
port.h
ref.c tipc: Fix race condition when creating socket or native port 2008-05-12 15:42:28 -07:00
ref.h [TIPC]: Remove inlining of reference table locking routines 2008-04-16 18:21:16 -07:00
socket.c tipc: Fix race condition when creating socket or native port 2008-05-12 15:42:28 -07:00
subscr.c tipc: Cosmetic cleanup of topology service code 2008-05-19 13:30:13 -07:00
subscr.h tipc: Cosmetic cleanup of topology service code 2008-05-19 13:30:13 -07:00
user_reg.c
user_reg.h
zone.c tipc: fix integer as NULL pointer sparse warnings in tipc 2008-02-24 18:38:31 -08:00
zone.h