summaryrefslogtreecommitdiff
path: root/include/net/stp.h
blob: 3af174d70d9e8ca988122b75358703b99c0b4d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _NET_STP_H
#define _NET_STP_H

struct stp_proto {
	unsigned char	group_address[ETH_ALEN];
	void		(*rcv)(const struct stp_proto *, struct sk_buff *,
			       struct net_device *);
	void		*data;
};

int stp_proto_register(const struct stp_proto *proto);
void stp_proto_unregister(const struct stp_proto *proto);

#endif /* _NET_STP_H */
t.git/patch/?id=8b3f9337e17aaf710c79e65fd0a3c572a075f498'>patch) treeecdd22bb295bc745f806446d9636c5d4bcc474d1 parenta824d0b83109eb3e3ad44c489543831bc15f7166 (diff)
vxlan: don't flush static fdb entries on admin down
This patch skips flushing static fdb entries in ndo_stop, but flushes all fdb entries during vxlan device delete. This is consistent with the bridge driver fdb Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat
-rw-r--r--drivers/net/vxlan.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c