lldpad: do not set rx state from TX initialization

When the TX state is initialized it was incorrectly putting the RX
state in a non-operational state. This resulted in the TLVs being
cleared.

If the admin status was RX only then each time the select loop fires
the TX state was initialized, clearing the RX state and free'ing any
queued up received PDUs. With this fix PDU queries work in RX-only
mode. This patch resolves the issue, the following should work
correctly:

# lldptool -L -i eth0 adminstatus=rx
# lldptool -t -i ethx -n
Chassis ID TLV
        MAC: 00:22:44:55:66:77
Port ID TLV
        MAC: 00:22:44:55:66:77
Time to Live TLV
        120
End of LLDPDU TLV

A follow up patch should abort the multiple initializations occuring
when tx mode is disabled.

Reported-by: Owen Dunn <osd1000@cam.ac.uk>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Do not install systemd files as executable

systemd files are normal files, so they don't need to have the
executable bit set.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
dcbnl.h: Update FSF address

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
COPYING: Update FSF address

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
vdp22 make function vdp22_local2str static

Remove function prototype vdp22_local2str() from header file and
define it static. This function is needed only vdp22 protocol
debug printout.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
vdp22 support variable number of VLAN/QoS returns

Protocol vdp22 allows the switch to return vlan identifier and
quality of service (QoS) identifiers to lldpad. Lldpad will receive
these values (if specified in the filter information section) and
return them to the originator.
Right now only one VLAN/QoS pair is supported. This patch allows
for a variable number of VLAN/QoS reception. Allocate enough
memory when the filter information is received from the switch,
copy the information and forward it to the originator and finally
delete the memory. This is done once at VSI association.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>