Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108564581
D29504.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
807 B
Referenced Files
None
Subscribers
None
D29504.diff
View Options
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -577,7 +577,7 @@
struct ifaddr * ifa_alloc(size_t size, int flags);
void ifa_free(struct ifaddr *ifa);
void ifa_ref(struct ifaddr *ifa);
-int ifa_try_ref(struct ifaddr *ifa);
+int __result_use_check ifa_try_ref(struct ifaddr *ifa);
/*
* Multicast address structure. This is analogous to the ifaddr
@@ -662,7 +662,7 @@
int if_log(struct ifnet *, int, const char *, ...) __printflike(3, 4);
void if_ref(struct ifnet *);
void if_rele(struct ifnet *);
-bool if_try_ref(struct ifnet *);
+bool __result_use_check if_try_ref(struct ifnet *);
int if_setlladdr(struct ifnet *, const u_char *, int);
int if_tunnel_check_nesting(struct ifnet *, struct mbuf *, uint32_t, int);
void if_up(struct ifnet *);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 9:41 AM (3 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16193717
Default Alt Text
D29504.diff (807 B)
Attached To
Mode
D29504: Enforce check for using the return result for ifa?_try_ref().
Attached
Detach File
Event Timeline
Log In to Comment