@@ -1127,7 +1127,8 @@ static int ctnetlink_flush_conntrack(struct net *net,
1127
1127
static int ctnetlink_del_conntrack (struct net * net , struct sock * ctnl ,
1128
1128
struct sk_buff * skb ,
1129
1129
const struct nlmsghdr * nlh ,
1130
- const struct nlattr * const cda [])
1130
+ const struct nlattr * const cda [],
1131
+ struct netlink_ext_ack * extack )
1131
1132
{
1132
1133
struct nf_conntrack_tuple_hash * h ;
1133
1134
struct nf_conntrack_tuple tuple ;
@@ -1179,7 +1180,8 @@ static int ctnetlink_del_conntrack(struct net *net, struct sock *ctnl,
1179
1180
static int ctnetlink_get_conntrack (struct net * net , struct sock * ctnl ,
1180
1181
struct sk_buff * skb ,
1181
1182
const struct nlmsghdr * nlh ,
1182
- const struct nlattr * const cda [])
1183
+ const struct nlattr * const cda [],
1184
+ struct netlink_ext_ack * extack )
1183
1185
{
1184
1186
struct nf_conntrack_tuple_hash * h ;
1185
1187
struct nf_conntrack_tuple tuple ;
@@ -1340,7 +1342,8 @@ ctnetlink_dump_dying(struct sk_buff *skb, struct netlink_callback *cb)
1340
1342
static int ctnetlink_get_ct_dying (struct net * net , struct sock * ctnl ,
1341
1343
struct sk_buff * skb ,
1342
1344
const struct nlmsghdr * nlh ,
1343
- const struct nlattr * const cda [])
1345
+ const struct nlattr * const cda [],
1346
+ struct netlink_ext_ack * extack )
1344
1347
{
1345
1348
if (nlh -> nlmsg_flags & NLM_F_DUMP ) {
1346
1349
struct netlink_dump_control c = {
@@ -1362,7 +1365,8 @@ ctnetlink_dump_unconfirmed(struct sk_buff *skb, struct netlink_callback *cb)
1362
1365
static int ctnetlink_get_ct_unconfirmed (struct net * net , struct sock * ctnl ,
1363
1366
struct sk_buff * skb ,
1364
1367
const struct nlmsghdr * nlh ,
1365
- const struct nlattr * const cda [])
1368
+ const struct nlattr * const cda [],
1369
+ struct netlink_ext_ack * extack )
1366
1370
{
1367
1371
if (nlh -> nlmsg_flags & NLM_F_DUMP ) {
1368
1372
struct netlink_dump_control c = {
@@ -1901,7 +1905,8 @@ ctnetlink_create_conntrack(struct net *net,
1901
1905
static int ctnetlink_new_conntrack (struct net * net , struct sock * ctnl ,
1902
1906
struct sk_buff * skb ,
1903
1907
const struct nlmsghdr * nlh ,
1904
- const struct nlattr * const cda [])
1908
+ const struct nlattr * const cda [],
1909
+ struct netlink_ext_ack * extack )
1905
1910
{
1906
1911
struct nf_conntrack_tuple otuple , rtuple ;
1907
1912
struct nf_conntrack_tuple_hash * h = NULL ;
@@ -2066,7 +2071,8 @@ ctnetlink_ct_stat_cpu_dump(struct sk_buff *skb, struct netlink_callback *cb)
2066
2071
static int ctnetlink_stat_ct_cpu (struct net * net , struct sock * ctnl ,
2067
2072
struct sk_buff * skb ,
2068
2073
const struct nlmsghdr * nlh ,
2069
- const struct nlattr * const cda [])
2074
+ const struct nlattr * const cda [],
2075
+ struct netlink_ext_ack * extack )
2070
2076
{
2071
2077
if (nlh -> nlmsg_flags & NLM_F_DUMP ) {
2072
2078
struct netlink_dump_control c = {
@@ -2111,7 +2117,8 @@ ctnetlink_stat_ct_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type,
2111
2117
2112
2118
static int ctnetlink_stat_ct (struct net * net , struct sock * ctnl ,
2113
2119
struct sk_buff * skb , const struct nlmsghdr * nlh ,
2114
- const struct nlattr * const cda [])
2120
+ const struct nlattr * const cda [],
2121
+ struct netlink_ext_ack * extack )
2115
2122
{
2116
2123
struct sk_buff * skb2 ;
2117
2124
int err ;
@@ -2773,7 +2780,8 @@ ctnetlink_exp_ct_dump_table(struct sk_buff *skb, struct netlink_callback *cb)
2773
2780
static int ctnetlink_dump_exp_ct (struct net * net , struct sock * ctnl ,
2774
2781
struct sk_buff * skb ,
2775
2782
const struct nlmsghdr * nlh ,
2776
- const struct nlattr * const cda [])
2783
+ const struct nlattr * const cda [],
2784
+ struct netlink_ext_ack * extack )
2777
2785
{
2778
2786
int err ;
2779
2787
struct nfgenmsg * nfmsg = nlmsg_data (nlh );
@@ -2817,7 +2825,8 @@ static int ctnetlink_dump_exp_ct(struct net *net, struct sock *ctnl,
2817
2825
2818
2826
static int ctnetlink_get_expect (struct net * net , struct sock * ctnl ,
2819
2827
struct sk_buff * skb , const struct nlmsghdr * nlh ,
2820
- const struct nlattr * const cda [])
2828
+ const struct nlattr * const cda [],
2829
+ struct netlink_ext_ack * extack )
2821
2830
{
2822
2831
struct nf_conntrack_tuple tuple ;
2823
2832
struct nf_conntrack_expect * exp ;
@@ -2829,7 +2838,8 @@ static int ctnetlink_get_expect(struct net *net, struct sock *ctnl,
2829
2838
2830
2839
if (nlh -> nlmsg_flags & NLM_F_DUMP ) {
2831
2840
if (cda [CTA_EXPECT_MASTER ])
2832
- return ctnetlink_dump_exp_ct (net , ctnl , skb , nlh , cda );
2841
+ return ctnetlink_dump_exp_ct (net , ctnl , skb , nlh , cda ,
2842
+ extack );
2833
2843
else {
2834
2844
struct netlink_dump_control c = {
2835
2845
.dump = ctnetlink_exp_dump_table ,
@@ -2897,7 +2907,8 @@ static int ctnetlink_get_expect(struct net *net, struct sock *ctnl,
2897
2907
2898
2908
static int ctnetlink_del_expect (struct net * net , struct sock * ctnl ,
2899
2909
struct sk_buff * skb , const struct nlmsghdr * nlh ,
2900
- const struct nlattr * const cda [])
2910
+ const struct nlattr * const cda [],
2911
+ struct netlink_ext_ack * extack )
2901
2912
{
2902
2913
struct nf_conntrack_expect * exp ;
2903
2914
struct nf_conntrack_tuple tuple ;
@@ -3185,7 +3196,8 @@ ctnetlink_create_expect(struct net *net,
3185
3196
3186
3197
static int ctnetlink_new_expect (struct net * net , struct sock * ctnl ,
3187
3198
struct sk_buff * skb , const struct nlmsghdr * nlh ,
3188
- const struct nlattr * const cda [])
3199
+ const struct nlattr * const cda [],
3200
+ struct netlink_ext_ack * extack )
3189
3201
{
3190
3202
struct nf_conntrack_tuple tuple ;
3191
3203
struct nf_conntrack_expect * exp ;
@@ -3291,7 +3303,8 @@ ctnetlink_exp_stat_cpu_dump(struct sk_buff *skb, struct netlink_callback *cb)
3291
3303
static int ctnetlink_stat_exp_cpu (struct net * net , struct sock * ctnl ,
3292
3304
struct sk_buff * skb ,
3293
3305
const struct nlmsghdr * nlh ,
3294
- const struct nlattr * const cda [])
3306
+ const struct nlattr * const cda [],
3307
+ struct netlink_ext_ack * extack )
3295
3308
{
3296
3309
if (nlh -> nlmsg_flags & NLM_F_DUMP ) {
3297
3310
struct netlink_dump_control c = {
0 commit comments