diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-06-17 21:12:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-17 21:12:48 -0700 |
commit | 9d45abe1c2949183e5d9cb25721bf1c42c7b5e3b (patch) | |
tree | 00bbbbcd31baaaf431b4cd2529542eb9db603fda /net | |
parent | cb61cb9b8b5ef6c2697d84e5015e314626eb2fba (diff) | |
download | kernel_samsung_smdk4412-9d45abe1c2949183e5d9cb25721bf1c42c7b5e3b.zip kernel_samsung_smdk4412-9d45abe1c2949183e5d9cb25721bf1c42c7b5e3b.tar.gz kernel_samsung_smdk4412-9d45abe1c2949183e5d9cb25721bf1c42c7b5e3b.tar.bz2 |
netdevice: change net_device->promiscuity/allmulti to unsigned int
The comments of dev_set_allmulti/promiscuity() is that "While the count in
the device remains above zero...". So negative count is useless.
Fix the type of the counter from "int" to "unsigned int".
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions