diff options
author | Martin KaFai Lau <kafai@fb.com> | 2015-05-22 20:55:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-25 13:25:32 -0400 |
commit | 286c2349f6665c3e67f464a5faa14a0e28be4842 (patch) | |
tree | a6ece8bde9655f0c39edb9d10a8867be7229fb69 /Documentation/volatile-considered-harmful.txt | |
parent | 01b6961410b76af228eb993220024ff6db6ba80c (diff) | |
download | linux-286c2349f6665c3e67f464a5faa14a0e28be4842.tar.bz2 |
ipv6: Clean up ipv6_select_ident() and ip6_fragment()
This patch changes the ipv6_select_ident() signature to return a
fragment id instead of taking a whole frag_hdr as a param to
only set the frag_hdr->identification.
It also cleans up ip6_fragment() to obtain the fragment id at the
beginning instead of using multiple "if" later to check fragment id
has been generated or not.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/volatile-considered-harmful.txt')
0 files changed, 0 insertions, 0 deletions