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
..
2008-04-23 23:00:13 -04:00
2008-05-08 18:04:02 +01:00
2008-05-14 10:05:18 -07:00
2008-05-05 12:38:50 -07:00
2008-05-12 16:46:55 +01:00
2008-05-12 22:57:51 +10:00
2008-04-17 11:31:58 +03:00
2008-04-29 08:06:12 -07:00
2008-04-24 23:57:33 +02:00