mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
Revert last change.
Andre: First lets get major new features into the kernel in a clean and nice way, and then start optimizing. In this case we don't have any obfusication that makes later profiling and/or optimizing difficult in any way. Requested by: csjp, sam
This commit is contained in:
parent
02a6dae6e0
commit
d2a09f901a
1 changed files with 4 additions and 4 deletions
|
|
@ -93,8 +93,8 @@ ipfw_check_in(void *arg, struct mbuf **m0, struct ifnet *ifp, int dir,
|
|||
|
||||
bzero(&args, sizeof(args));
|
||||
|
||||
if (DUMMYNET_LOADED &&
|
||||
(dn_tag = m_tag_find(*m0, PACKET_TAG_DUMMYNET, NULL)) != NULL) {
|
||||
dn_tag = m_tag_find(*m0, PACKET_TAG_DUMMYNET, NULL);
|
||||
if (dn_tag != NULL){
|
||||
struct dn_pkt_tag *dt;
|
||||
|
||||
dt = (struct dn_pkt_tag *)(dn_tag+1);
|
||||
|
|
@ -178,8 +178,8 @@ ipfw_check_out(void *arg, struct mbuf **m0, struct ifnet *ifp, int dir,
|
|||
|
||||
bzero(&args, sizeof(args));
|
||||
|
||||
if (DUMMYNET_LOADED &&
|
||||
(dn_tag = m_tag_find(*m0, PACKET_TAG_DUMMYNET, NULL)) != NULL) {
|
||||
dn_tag = m_tag_find(*m0, PACKET_TAG_DUMMYNET, NULL);
|
||||
if (dn_tag != NULL) {
|
||||
struct dn_pkt_tag *dt;
|
||||
|
||||
dt = (struct dn_pkt_tag *)(dn_tag+1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue