aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_vegas.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-17 09:53:20 +0800
committerDavid S. Miller <davem@davemloft.net>2014-01-16 19:12:03 -0800
commit722e47d7929b40f58c2ad609429c7293e41ca5a8 (patch)
tree5d95917e06b150911e3d189f9649e5bf03b33554 /net/ipv4/tcp_vegas.c
parent8b88a11e4451a967973b7b8b5e82ff62f3d69945 (diff)
net_sched: fix error return code in fw_change_attrs()
The error code was not set if change indev fail, so the error condition wasn't reflected in the return value. Fix to return a negative error code from this error handling case instead of 0. Fixes: 2519a602c273 ('net_sched: optimize tcf_match_indev()') Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_vegas.c')
0 files changed, 0 insertions, 0 deletions