summaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-06-06 21:39:49 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-06-06 21:39:49 -0400
commit1c8c5a9d38f607c0b6fd12c91cbe1a4418762a21 (patch)
treedcc97181d4d187252e0cc8fdf29d9b365fa3ffd0 /net/nfc
parent285767604576148fc1be7fcd112e4a90eb0d6ad2 (diff)
parent7170e6045a6a8b33f4fa5753589dc77b16198e2d (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller: 1) Add Maglev hashing scheduler to IPVS, from Inju Song. 2) Lots of new TC subsystem tests from Roman Mashak. 3) Add TCP zero copy receive and fix delayed acks and autotuning with SO_RCVLOWAT, from Eric Dumazet. 4) Add XDP_REDIRECT support to mlx5 driver, from Jesper Dangaard Brouer. 5) Add ttl inherit support to vxlan, from Hangbin Liu. 6) Properly separate ipv6 routes into their logically independant components. fib6_info for the routing table, and fib6_nh for sets of nexthops, which thus can be shared. From David Ahern. 7) Add bpf_xdp_adjust_tail helper, which can be used to generate ICMP messages from XDP programs. From Nikita V. Shirokov. 8) Lots of long overdue cleanups to the r8169 driver, from Heiner Kallweit. 9) Add BTF ("BPF Type Format"), from Martin KaFai Lau. 10) Add traffic condition monitoring to iwlwifi, from Luca Coelho. 11) Plumb extack down into fib_rules, from Roopa Prabhu. 12) Add Flower classifier offload support to igb, from Vinicius Costa Gomes. 13) Add UDP GSO support, from Willem de Bruijn. 14) Add documentation for eBPF helpers, from Quentin Monnet. 15) Add TLS tx offload to mlx5, from Ilya Lesokhin. 16) Allow applications to be given the number of bytes available to read on a socket via a control message returned from recvmsg(), from Soheil Hassas Yeganeh. 17) Add x86_32 eBPF JIT compiler, from Wang YanQing. 18) Add AF_XDP sockets, with zerocopy support infrastructure as well. From Björn Töpel. 19) Remove indirect load support from all of the BPF JITs and handle these operations in the verifier by translating them into native BPF instead. From Daniel Borkmann. 20) Add GRO support to ipv6 gre tunnels, from Eran Ben Elisha. 21) Allow XDP programs to do lookups in the main kernel routing tables for forwarding. From David Ahern. 22) Allow drivers to store hardware state into an ELF section of kernel dump vmcore files, and use it in cxgb4. From Rahul Lakkireddy. 23) Various RACK and loss detection improvements in TCP, from Yuchung Cheng. 24) Add TCP SACK compression, from Eric Dumazet. 25) Add User Mode Helper support and basic bpfilter infrastructure, from Alexei Starovoitov. 26) Support ports and protocol values in RTM_GETROUTE, from Roopa Prabhu. 27) Support bulking in ->ndo_xdp_xmit() API, from Jesper Dangaard Brouer. 28) Add lots of forwarding selftests, from Petr Machata. 29) Add generic network device failover driver, from Sridhar Samudrala. * ra.kernel.org:/pub/scm/linux/kernel/git/davem/net-next: (1959 commits) strparser: Add __strp_unpause and use it in ktls. rxrpc: Fix terminal retransmission connection ID to include the channel net: hns3: Optimize PF CMDQ interrupt switching process net: hns3: Fix for VF mailbox receiving unknown message net: hns3: Fix for VF mailbox cannot receiving PF response bnx2x: use the right constant Revert "net: sched: cls: Fix offloading when ingress dev is vxlan" net: dsa: b53: Fix for brcm tag issue in Cygnus SoC enic: fix UDP rss bits netdev-FAQ: clarify DaveM's position for stable backports rtnetlink: validate attributes in do_setlink() mlxsw: Add extack messages for port_{un, }split failures netdevsim: Add extack error message for devlink reload devlink: Add extack to reload and port_{un, }split operations net: metrics: add proper netlink validation ipmr: fix error path when ipmr_new_table fails ip6mr: only set ip6mr_table from setsockopt when ip6mr_new_table succeeds net: hns3: remove unused hclgevf_cfg_func_mta_filter netfilter: provide udp*_lib_lookup for nf_tproxy qed*: Utilize FW 8.37.2.0 ...
Diffstat (limited to 'net/nfc')
-rw-r--r--net/nfc/netlink.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/net/nfc/netlink.c b/net/nfc/netlink.c
index f018eafc2a0d..376181cc1def 100644
--- a/net/nfc/netlink.c
+++ b/net/nfc/netlink.c
@@ -206,7 +206,6 @@ int nfc_genl_targets_found(struct nfc_dev *dev)
206 return genlmsg_multicast(&nfc_genl_family, msg, 0, 0, GFP_ATOMIC); 206 return genlmsg_multicast(&nfc_genl_family, msg, 0, 0, GFP_ATOMIC);
207 207
208nla_put_failure: 208nla_put_failure:
209 genlmsg_cancel(msg, hdr);
210free_msg: 209free_msg:
211 nlmsg_free(msg); 210 nlmsg_free(msg);
212 return -EMSGSIZE; 211 return -EMSGSIZE;
@@ -237,7 +236,6 @@ int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx)
237 return 0; 236 return 0;
238 237
239nla_put_failure: 238nla_put_failure:
240 genlmsg_cancel(msg, hdr);
241free_msg: 239free_msg:
242 nlmsg_free(msg); 240 nlmsg_free(msg);
243 return -EMSGSIZE; 241 return -EMSGSIZE;
@@ -269,7 +267,6 @@ int nfc_genl_tm_activated(struct nfc_dev *dev, u32 protocol)
269 return 0; 267 return 0;
270 268
271nla_put_failure: 269nla_put_failure:
272 genlmsg_cancel(msg, hdr);
273free_msg: 270free_msg:
274 nlmsg_free(msg); 271 nlmsg_free(msg);
275 return -EMSGSIZE; 272 return -EMSGSIZE;
@@ -299,7 +296,6 @@ int nfc_genl_tm_deactivated(struct nfc_dev *dev)
299 return 0; 296 return 0;
300 297
301nla_put_failure: 298nla_put_failure:
302 genlmsg_cancel(msg, hdr);
303free_msg: 299free_msg:
304 nlmsg_free(msg); 300 nlmsg_free(msg);
305 return -EMSGSIZE; 301 return -EMSGSIZE;
@@ -340,7 +336,6 @@ int nfc_genl_device_added(struct nfc_dev *dev)
340 return 0; 336 return 0;
341 337
342nla_put_failure: 338nla_put_failure:
343 genlmsg_cancel(msg, hdr);
344free_msg: 339free_msg:
345 nlmsg_free(msg); 340 nlmsg_free(msg);
346 return -EMSGSIZE; 341 return -EMSGSIZE;
@@ -370,7 +365,6 @@ int nfc_genl_device_removed(struct nfc_dev *dev)
370 return 0; 365 return 0;
371 366
372nla_put_failure: 367nla_put_failure:
373 genlmsg_cancel(msg, hdr);
374free_msg: 368free_msg:
375 nlmsg_free(msg); 369 nlmsg_free(msg);
376 return -EMSGSIZE; 370 return -EMSGSIZE;
@@ -434,8 +428,6 @@ int nfc_genl_llc_send_sdres(struct nfc_dev *dev, struct hlist_head *sdres_list)
434 return genlmsg_multicast(&nfc_genl_family, msg, 0, 0, GFP_ATOMIC); 428 return genlmsg_multicast(&nfc_genl_family, msg, 0, 0, GFP_ATOMIC);
435 429
436nla_put_failure: 430nla_put_failure:
437 genlmsg_cancel(msg, hdr);
438
439free_msg: 431free_msg:
440 nlmsg_free(msg); 432 nlmsg_free(msg);
441 433
@@ -470,7 +462,6 @@ int nfc_genl_se_added(struct nfc_dev *dev, u32 se_idx, u16 type)
470 return 0; 462 return 0;
471 463
472nla_put_failure: 464nla_put_failure:
473 genlmsg_cancel(msg, hdr);
474free_msg: 465free_msg:
475 nlmsg_free(msg); 466 nlmsg_free(msg);
476 return -EMSGSIZE; 467 return -EMSGSIZE;
@@ -501,7 +492,6 @@ int nfc_genl_se_removed(struct nfc_dev *dev, u32 se_idx)
501 return 0; 492 return 0;
502 493
503nla_put_failure: 494nla_put_failure:
504 genlmsg_cancel(msg, hdr);
505free_msg: 495free_msg:
506 nlmsg_free(msg); 496 nlmsg_free(msg);
507 return -EMSGSIZE; 497 return -EMSGSIZE;
@@ -546,7 +536,6 @@ int nfc_genl_se_transaction(struct nfc_dev *dev, u8 se_idx,
546 return 0; 536 return 0;
547 537
548nla_put_failure: 538nla_put_failure:
549 genlmsg_cancel(msg, hdr);
550free_msg: 539free_msg:
551 /* evt_transaction is no more used */ 540 /* evt_transaction is no more used */
552 devm_kfree(&dev->dev, evt_transaction); 541 devm_kfree(&dev->dev, evt_transaction);
@@ -585,7 +574,6 @@ int nfc_genl_se_connectivity(struct nfc_dev *dev, u8 se_idx)
585 return 0; 574 return 0;
586 575
587nla_put_failure: 576nla_put_failure:
588 genlmsg_cancel(msg, hdr);
589free_msg: 577free_msg:
590 nlmsg_free(msg); 578 nlmsg_free(msg);
591 return -EMSGSIZE; 579 return -EMSGSIZE;
@@ -703,7 +691,6 @@ int nfc_genl_dep_link_up_event(struct nfc_dev *dev, u32 target_idx,
703 return 0; 691 return 0;
704 692
705nla_put_failure: 693nla_put_failure:
706 genlmsg_cancel(msg, hdr);
707free_msg: 694free_msg:
708 nlmsg_free(msg); 695 nlmsg_free(msg);
709 return -EMSGSIZE; 696 return -EMSGSIZE;
@@ -735,7 +722,6 @@ int nfc_genl_dep_link_down_event(struct nfc_dev *dev)
735 return 0; 722 return 0;
736 723
737nla_put_failure: 724nla_put_failure:
738 genlmsg_cancel(msg, hdr);
739free_msg: 725free_msg:
740 nlmsg_free(msg); 726 nlmsg_free(msg);
741 return -EMSGSIZE; 727 return -EMSGSIZE;
@@ -1030,7 +1016,6 @@ static int nfc_genl_send_params(struct sk_buff *msg,
1030 return 0; 1016 return 0;
1031 1017
1032nla_put_failure: 1018nla_put_failure:
1033
1034 genlmsg_cancel(msg, hdr); 1019 genlmsg_cancel(msg, hdr);
1035 return -EMSGSIZE; 1020 return -EMSGSIZE;
1036} 1021}
@@ -1290,7 +1275,6 @@ int nfc_genl_fw_download_done(struct nfc_dev *dev, const char *firmware_name,
1290 return 0; 1275 return 0;
1291 1276
1292nla_put_failure: 1277nla_put_failure:
1293 genlmsg_cancel(msg, hdr);
1294free_msg: 1278free_msg:
1295 nlmsg_free(msg); 1279 nlmsg_free(msg);
1296 return -EMSGSIZE; 1280 return -EMSGSIZE;
@@ -1507,7 +1491,6 @@ static void se_io_cb(void *context, u8 *apdu, size_t apdu_len, int err)
1507 return; 1491 return;
1508 1492
1509nla_put_failure: 1493nla_put_failure:
1510 genlmsg_cancel(msg, hdr);
1511free_msg: 1494free_msg:
1512 nlmsg_free(msg); 1495 nlmsg_free(msg);
1513 kfree(ctx); 1496 kfree(ctx);