Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107065368
D30282.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
762 B
Referenced Files
None
Subscribers
None
D30282.diff
View Options
diff --git a/sys/netinet/libalias/alias.c b/sys/netinet/libalias/alias.c
--- a/sys/netinet/libalias/alias.c
+++ b/sys/netinet/libalias/alias.c
@@ -290,10 +290,10 @@
static int
IcmpAliasIn1(struct libalias *la, struct ip *pip)
{
- LIBALIAS_LOCK_ASSERT(la);
struct alias_link *lnk;
struct icmp *ic;
+ LIBALIAS_LOCK_ASSERT(la);
ic = (struct icmp *)ip_next(pip);
/* Get source address from ICMP data field and restore original data */
@@ -334,13 +334,13 @@
static int
IcmpAliasIn2(struct libalias *la, struct ip *pip)
{
- LIBALIAS_LOCK_ASSERT(la);
struct ip *ip;
struct icmp *ic, *ic2;
struct udphdr *ud;
struct tcphdr *tc;
struct alias_link *lnk;
+ LIBALIAS_LOCK_ASSERT(la);
ic = (struct icmp *)ip_next(pip);
ip = &ic->icmp_ip;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 1:49 PM (14 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15743132
Default Alt Text
D30282.diff (762 B)
Attached To
Mode
D30282: libalias: Ensure ASSERT behind varable declarations
Attached
Detach File
Event Timeline
Log In to Comment