Skip to content

Commit ebd49e6

Browse files
SurajSonawane2415NipaLocal
authored andcommitted
net: ipv6: fix inconsistent indentation in ipv6_gro_receive
Fix the indentation to ensure consistent code style and improve readability, and to fix this warning: net/ipv6/ip6_offload.c:280 ipv6_gro_receive() warn: inconsistent indenting Signed-off-by: Suraj Sonawane <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent 677645e commit ebd49e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

net/ipv6/ip6_offload.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,10 @@ INDIRECT_CALLABLE_SCOPE struct sk_buff *ipv6_gro_receive(struct list_head *head,
277277
* (nlen != (sizeof(*iph2) + ipv6_exthdrs_len(iph2, &ops)))
278278
* memcmp() alone below is sufficient, right?
279279
*/
280-
if ((first_word & htonl(0xF00FFFFF)) ||
281-
!ipv6_addr_equal(&iph->saddr, &iph2->saddr) ||
282-
!ipv6_addr_equal(&iph->daddr, &iph2->daddr) ||
283-
iph->nexthdr != iph2->nexthdr) {
280+
if ((first_word & htonl(0xF00FFFFF)) ||
281+
!ipv6_addr_equal(&iph->saddr, &iph2->saddr) ||
282+
!ipv6_addr_equal(&iph->daddr, &iph2->daddr) ||
283+
iph->nexthdr != iph2->nexthdr) {
284284
not_same_flow:
285285
NAPI_GRO_CB(p)->same_flow = 0;
286286
continue;

0 commit comments

Comments
 (0)