aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorSabrina Dubroca <[email protected]>2018-06-05 15:01:59 +0200
committerDavid S. Miller <[email protected]>2018-06-05 12:26:39 -0400
commit848235edb5c93ed086700584c8ff64f6d7fc778d (patch)
treead8211588a1867fe378e81e300aff1aae796f3a2 /scripts/bpf_helpers_doc.py
parent4f416db98beaef2f047709e4693b0a4c64d9bbf8 (diff)
ip6mr: only set ip6mr_table from setsockopt when ip6mr_new_table succeeds
Currently, raw6_sk(sk)->ip6mr_table is set unconditionally during ip6_mroute_setsockopt(MRT6_TABLE). A subsequent attempt at the same setsockopt will fail with -ENOENT, since we haven't actually created that table. A similar fix for ipv4 was included in commit 5e1859fbcc3c ("ipv4: ipmr: various fixes and cleanups"). Fixes: d1db275dd3f6 ("ipv6: ip6mr: support multiple tables") Signed-off-by: Sabrina Dubroca <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions