diff options
author | Sathya Perla <[email protected]> | 2015-02-06 08:18:41 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-02-07 22:50:59 -0800 |
commit | f66b7cfd95a5e13ca8bc4854252cd027f3d7fe86 (patch) | |
tree | ca0b6cb340e32bd3e7fad4fa583383acd3766423 /lib/memory-notifier-error-inject.c | |
parent | ac34b74378a15b01d16ae84d616b405dd0948ecb (diff) |
be2net: refactor be_set_rx_mode() and be_vid_config() for readability
This patch re-factors the filter setting (uc-list, mc-list, promisc, vlan)
code in be_set_rx_mode() and be_vid_config() to make it more readable
and reduce code duplication.
This patch adds a separate field to track the state/mode of filtering,
along with moving all the filtering related fields to one place in be
be_adapter structure.
Signed-off-by: Sathya Perla <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions