Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78bd8fbb authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

fix sctp_del_bind_addr() last argument type



It gets pointer to fastcall function, expects a pointer to normal
one and calls the sucker.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 459685c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1157,7 +1157,7 @@ int sctp_bind_addr_copy(struct sctp_bind_addr *dest,
int sctp_add_bind_addr(struct sctp_bind_addr *, union sctp_addr *,
		       __u8 use_as_src, gfp_t gfp);
int sctp_del_bind_addr(struct sctp_bind_addr *, union sctp_addr *,
			void (*rcu_call)(struct rcu_head *,
			void fastcall (*rcu_call)(struct rcu_head *,
					  void (*func)(struct rcu_head *)));
int sctp_bind_addr_match(struct sctp_bind_addr *, const union sctp_addr *,
			 struct sctp_sock *);
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new,
 * structure.
 */
int sctp_del_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *del_addr,
			void (*rcu_call)(struct rcu_head *head,
			void fastcall (*rcu_call)(struct rcu_head *head,
					 void (*func)(struct rcu_head *head)))
{
	struct sctp_sockaddr_entry *addr, *temp;