aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorScott Feldman <[email protected]>2015-06-01 18:39:02 +0000
committerDavid S. Miller <[email protected]>2015-06-02 00:00:08 +0000
commit27b808cbc2ad72608fb2fd9abd81930d32464546 (patch)
tree2d5891cfb91eaaabbcf68e561dcad2dc22da24f6 /net/unix/af_unix.c
parentvlan: Add GRO support for non hardware accelerated vlan (diff)
downloadkernel-27b808cbc2ad72608fb2fd9abd81930d32464546.tar.gz
kernel-27b808cbc2ad72608fb2fd9abd81930d32464546.zip
rocker: zero allocate ports array
When allocating the array of rocker port pointers, zero the array values so we can test for !NULL to see if port is allocated/registered. We'll need this later when installing untagged VLAN support for each port, during port probe. It's a long story, but to install a VLAN (vid=0 for untagged, in this case) on a port, we'll need to scan other ports to see if the VLAN group for that VLAN has been setup. To scan the other ports, we need to walk the port array. Signed-off-by: Scott Feldman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions