From: Martin KaFai Lau Date: Sat, 23 May 2015 03:55:56 +0000 (-0700) Subject: ipv6: Clean up ipv6_select_ident() and ip6_fragment() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~224^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=286c2349f6665c3e67f464a5faa14a0e28be4842;p=pandora-kernel.git 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 Cc: Hannes Frederic Sowa Cc: Steffen Klassert Cc: Julian Anastasov Signed-off-by: David S. Miller --- Reading git-diff-tree failed