summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/reg_srcs/rn50
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-04-27 15:34:34 +0200
committerPatrick McHardy <kaber@trash.net>2010-04-27 15:34:34 +0200
commit4b2cbd42bef5a22bb681acd607a7c3fbca1eeb3c (patch)
treeec3461cd593eaf65ffcd3fbb538c3976da1caa60 /drivers/gpu/drm/radeon/reg_srcs/rn50
parentaf740b2c8f4521e2c45698ee6040941a82d6349d (diff)
downloadblackbird-op-linux-4b2cbd42bef5a22bb681acd607a7c3fbca1eeb3c.tar.gz
blackbird-op-linux-4b2cbd42bef5a22bb681acd607a7c3fbca1eeb3c.zip
netfilter: x_tables: rectify XT_FUNCTION_MAXNAMELEN usage
There has been quite a confusion in userspace about XT_FUNCTION_MAXNAMELEN; because struct xt_entry_match used MAX-1, userspace would have to do an awkward MAX-2 for maximum length checking (due to '\0'). This patch adds a new define that matches the definition of XT_TABLE_MAXNAMELEN - being the size of the actual struct member, not one off. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'drivers/gpu/drm/radeon/reg_srcs/rn50')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud