diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2007-05-15 07:59:49 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2007-05-15 07:59:49 +0000 |
| commit | 7a04b0f625e7f396ded0e1ca2365e5be5eb89186 (patch) | |
| tree | eef53a9686433e04b36c75b85c5d78d4c3e37873 /sys/net | |
| parent | 3bf517e3897ff94e116fa40a37e21c9014d83617 (diff) | |
Notes
Diffstat (limited to 'sys/net')
| -rw-r--r-- | sys/net/if_lagg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index 2ab11857dd18..c95115347155 100644 --- a/sys/net/if_lagg.c +++ b/sys/net/if_lagg.c @@ -1199,7 +1199,7 @@ uint32_t lagg_hashmbuf(struct mbuf *m, uint32_t key) { uint16_t etype; - uint32_t p = 0; + uint32_t flow, p = 0; int off; struct ether_header *eh; struct ether_vlan_header vlanbuf; @@ -1254,6 +1254,8 @@ lagg_hashmbuf(struct mbuf *m, uint32_t key) p = hash32_buf(&ip6->ip6_src, sizeof(struct in6_addr), p); p = hash32_buf(&ip6->ip6_dst, sizeof(struct in6_addr), p); + flow = ip6->ip6_flow & IPV6_FLOWLABEL_MASK; + p = hash32_buf(&flow, sizeof(flow), p); /* IPv6 flow label */ break; #endif } |
