diff options
| author | Chris Wright <[email protected]> | 2008-05-05 13:50:24 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-05-05 13:50:24 -0700 |
| commit | 19443178fbfbf40db15c86012fc37df1a44ab857 (patch) | |
| tree | e41cd59c5e6aba6f5ca932c9131f73e563b02bf8 /net/core/utils.c | |
| parent | 7a1aa309f21ea2f6c31f364341e4027ecf4e79bc (diff) | |
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 <[email protected]>
Acked-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions