Revision 3d7ded4d81d807c2f75f310a8d74a5d72be13a1b authored by Sage Weil on 09 June 2010, 23:47:10 UTC, committed by Sage Weil on 10 June 2010, 20:30:07 UTC
If we get an IMPORT that give us a cap, but we don't have the inode, queue
a release (and try to send it immediately) so that the MDS doesn't get
stuck waiting for us.

Signed-off-by: Sage Weil <sage@newdream.net>
1 parent 9dbd412
Raw File
stp.h
#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;
};

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

#endif /* _NET_STP_H */
back to top