summaryrefslogtreecommitdiffstats
path: root/net/atm/br2684.c
diff options
context:
space:
mode:
authorChris Wright2008-05-05 22:50:24 +0200
committerDavid S. Miller2008-05-05 22:50:24 +0200
commit19443178fbfbf40db15c86012fc37df1a44ab857 (patch)
treee41cd59c5e6aba6f5ca932c9131f73e563b02bf8 /net/atm/br2684.c
parentirda: fix !PNP support for drivers/net/irda/smsc-ircc2.c (diff)
downloadkernel-qcow2-linux-19443178fbfbf40db15c86012fc37df1a44ab857.tar.gz
kernel-qcow2-linux-19443178fbfbf40db15c86012fc37df1a44ab857.tar.xz
kernel-qcow2-linux-19443178fbfbf40db15c86012fc37df1a44ab857.zip
dccp: return -EINVAL on invalid feature length
dccp_feat_change() validates length and on error is returning 1. This happens to work since call chain is checking for 0 == success, but this is returned to userspace, so make it a real error value. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/br2684.c')
0 files changed, 0 insertions, 0 deletions