]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: Add dst_clone() in prepare_ipv6_hdr()
authorAndrew Boyer <andrew.boyer@dell.com>
Mon, 28 Aug 2017 20:11:54 +0000 (16:11 -0400)
committerDoug Ledford <dledford@redhat.com>
Mon, 28 Aug 2017 23:12:34 +0000 (19:12 -0400)
commitfda72dc346863d01ba4e7bd6dc976839d104689f
treec134c752f70f58cc5c8e4b7fa2a09aee4140f51a
parent6b2905445cf59dfbfffd4cf76240029c9f4144e6
IB/rxe: Add dst_clone() in prepare_ipv6_hdr()

Otherwise the reference count goes negative as IPv6 packets complete.

Fixes: 29fd12a76aa1 ("IB/rxe: Cache dst in QP instead of getting it...")
Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_net.c