Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet clear m_flags just for safety
details: https://anonhg.NetBSD.org/src/rev/fa1dacbc7750
branches: trunk
changeset: 546580:fa1dacbc7750
user: itojun <itojun%NetBSD.org@localhost>
date: Fri May 02 02:13:16 2003 +0000
description:
clear m_flags just for safety
diffstat:
sys/netinet/ip_gre.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 641624505617 -r fa1dacbc7750 sys/netinet/ip_gre.c
--- a/sys/netinet/ip_gre.c Fri May 02 01:47:39 2003 +0000
+++ b/sys/netinet/ip_gre.c Fri May 02 02:13:16 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_gre.c,v 1.26 2003/04/21 08:14:45 itojun Exp $ */
+/* $NetBSD: ip_gre.c,v 1.27 2003/05/02 02:13:16 itojun Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_gre.c,v 1.26 2003/04/21 08:14:45 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_gre.c,v 1.27 2003/05/02 02:13:16 itojun Exp $");
#include "gre.h"
#if NGRE > 0
@@ -227,6 +227,7 @@
struct mbuf m0;
u_int32_t af = AF_INET;
+ m0.m_flags = 0;
m0.m_next = m;
m0.m_len = 4;
m0.m_data = (char *)⁡
Home |
Main Index |
Thread Index |
Old Index