Re: [PATCH net] ipv6: fix exthdrs offload registration in out_rt path

2015-09-02 Thread David Miller
From: Daniel Borkmann Date: Thu, 3 Sep 2015 00:29:07 +0200 > We previously register IPPROTO_ROUTING offload under inet6_add_offload(), > but in error path, we try to unregister it with inet_del_offload(). This > doesn't seem correct, it should actually be inet6_del_offload(), also > ipv6_exthdrs

[PATCH net] ipv6: fix exthdrs offload registration in out_rt path

2015-09-02 Thread Daniel Borkmann
We previously register IPPROTO_ROUTING offload under inet6_add_offload(), but in error path, we try to unregister it with inet_del_offload(). This doesn't seem correct, it should actually be inet6_del_offload(), also ipv6_exthdrs_offload_exit() from that commit seems rather incorrect (it also uses