s2io: Fix enabling VLAN tag stripping at driver initialization
VLAN doesn't work except if you'd opened the interface in promiscuous mode before. This happens because VLAN tag stripping is not correctly marked as enabled at device startup Also, the vlan_strip_flag field was moved to the private network structure. Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:

committed by
Jeff Garzik

parent
52845c3fd8
commit
cd0fce0322
@@ -962,6 +962,7 @@ struct s2io_nic {
|
||||
int task_flag;
|
||||
unsigned long long start_time;
|
||||
struct vlan_group *vlgrp;
|
||||
int vlan_strip_flag;
|
||||
#define MSIX_FLG 0xA5
|
||||
int num_entries;
|
||||
struct msix_entry *entries;
|
||||
|
Reference in New Issue
Block a user