From: Allan Stephens Date: Wed, 21 May 2008 21:52:30 +0000 (-0700) Subject: tipc: Fix skb_under_panic when configuring TIPC without privileges X-Git-Tag: v2.6.27-rc1~969^2~413 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59f0c4523fdea865fab7d69d878269992a9d08dd;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed