aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorAllan Stephens <[email protected]>2008-05-21 21:52:30 +0000
committerDavid S. Miller <[email protected]>2008-05-21 21:52:30 +0000
commit59f0c4523fdea865fab7d69d878269992a9d08dd (patch)
tree4516d63a1c32fb8e06d0730527f3c54c02df2f87 /net/tipc/node.c
parentip6mr: Use on-device stats instead of private ones. (diff)
downloadkernel-59f0c4523fdea865fab7d69d878269992a9d08dd.tar.gz
kernel-59f0c4523fdea865fab7d69d878269992a9d08dd.zip
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions