[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-2.0.2-121-g44aeb9c
OISF Git
noreply at openinfosecfoundation.org
Tue Aug 12 12:47:44 UTC 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OISF".
The branch, master has been updated
via 44aeb9c637503c87cc0424d172fe8ef0d141351c (commit)
via c91b7fd3bc177961f6f0c074766ee7c6f9f8d931 (commit)
via 045966676dd3c4b8de041d11f8ce11d814dd52f7 (commit)
from da1fe759759a1a0d00c2d4d2e14d38ac0014b6ae (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 44aeb9c637503c87cc0424d172fe8ef0d141351c
Author: Ken Steele <ken at tilera.com>
Date: Wed Feb 5 18:00:19 2014 -0500
Fix GRE Source Routing Header definition
The Source Routing Header had routing defined as a char* for a field
of variable size. Since that field was not being used in the code, I
removed the pointer and added a comment.
commit c91b7fd3bc177961f6f0c074766ee7c6f9f8d931
Author: Ken Steele <ken at tilera.com>
Date: Fri Dec 20 13:50:43 2013 -0500
More structures that need to be marked Packed.
These structures are cast from raw packet data, so they should be packed.
The case is:
typedef struct Foo_ {
} Foo;
Foo *f = (Foo *)pkt;
commit 045966676dd3c4b8de041d11f8ce11d814dd52f7
Author: Ken Steele <ken at tilera.com>
Date: Fri Dec 20 11:52:12 2013 -0500
Add Packed attribute on Header structures
Structures that are used to cast packet data into fields need to be packed
so that the compiler doesn't add any padding to these fields. This also helps
Tile-Gx to avoid unaligned loads because the compiler will insert code to
handle the possible unaligned load.
-----------------------------------------------------------------------
Summary of changes:
src/alert-unified2-alert.c | 6 +++---
src/app-layer-dns-common.h | 4 ++--
src/decode-ethernet.h | 2 +-
src/decode-gre.h | 12 ++++++++----
src/decode-icmpv4.h | 2 +-
src/decode-ipv4.h | 4 ++--
src/decode-ipv6.h | 16 ++++++++--------
src/decode-ppp.h | 2 +-
src/decode-pppoe.h | 4 ++--
src/decode-sctp.h | 2 +-
src/decode-sll.h | 2 +-
src/decode-tcp.h | 4 ++--
src/decode-udp.h | 4 ++--
src/decode-vlan.h | 2 +-
14 files changed, 35 insertions(+), 31 deletions(-)
hooks/post-receive
--
OISF
More information about the Oisf-devel
mailing list