Page MenuHomeFreeBSD

D30282.diff
No OneTemporary

D30282.diff

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

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)

Event Timeline