summaryrefslogtreecommitdiffstats
path: root/net/dcb
AgeCommit message (Expand)Author
2015-10-09net/dcb: make dcbnl.c explicitly non-modularPaul Gortmaker
2015-03-06net/dcb: Add IEEE QCN attributeShani Michaeli
2014-11-16dcbnl : Disable software interrupts before taking dcb_lockAnish Bhatt
2014-07-30dcbnl : Fix misleading dcb_app->priority explanationAnish Bhatt
2014-07-17Update setapp/getapp prototypes in dcbnl_rtnl_ops to return int instead of u8Anish Bhatt
2014-04-24net: Use netlink_ns_capable to verify the permisions of netlink messagesEric W. Biederman
2014-01-14dcb: use __dev_get_by_name instead of dev_get_by_name to find interfaceYing Xue
2013-12-06net/*: Fix FSF address in file headersJeff Kirsher
2013-03-22rtnetlink: Remove passing of attributes into rtnl_doit functionsThomas Graf
2013-03-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller
2013-03-10dcbnl: fix various netlink info leaksMathias Krause
2013-03-09dcb: fix sparse warningsstephen hemminger
2012-12-10net: Allow DCBnl to use other namespaces besides init_netJohn Fastabend
2012-11-18net: Push capable(CAP_NET_ADMIN) into the rtnl methodsEric W. Biederman
2012-09-10netlink: Rename pid to portid to avoid confusionEric W. Biederman
2012-07-10net: Fix non-kernel-doc comments with kernel-doc start markerBen Hutchings
2012-06-21net: dcb: fix small regression in __dcbnl_pg_setcfg()John Fastabend
2012-06-14dcbnl: Use BUG_ON() instead of BUG()Thomas Graf
2012-06-14dcbnl: Silence harmless gcc warning about uninitialized reply_nlhThomas Graf
2012-06-13dcbnl: Use type safe nlmsg_data()Thomas Graf
2012-06-13dcbnl: Move dcb app allocation into dcb_app_add()Thomas Graf
2012-06-13dcbnl: Move dcb app lookup code into dcb_app_lookup()Thomas Graf
2012-06-13dcbnl: Return consistent error codesThomas Graf
2012-06-13dcbnl: Use dcbnl_newmsg() where possibleThomas Graf
2012-06-13dcbnl: Remove now unused dcbnl_reply()Thomas Graf
2012-06-13dcbnl: Shorten all command handling functionsThomas Graf
2012-06-13dcbnl: Prepare framework to shorten handling functionsThomas Graf
2012-04-25net: dcb: add CEE notify callsJohn Fastabend
2012-04-05net/dcb: Add an optional max rate attributeAmir Vadai
2012-04-02dcbnl: Stop using NLA_PUT*().David S. Miller
2011-10-31net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modulesPaul Gortmaker
2011-10-31net: Fix files explicitly needing to include module.hPaul Gortmaker
2011-10-06dcb: add DCBX mode to event notifier attributesJohn Fastabend
2011-10-06dcb: Use ifindex instead of ifnameMark Rustad
2011-07-08dcbnl: unlock on an error path in dcbnl_cee_fill()Dan Carpenter
2011-07-05dcbnl: Add CEE notificationShmulik Ravid
2011-07-05dcbnl: Aggregated CEE GET operationShmulik Ravid
2011-06-23dcb: use nlmsg_free() instead of kfree()Dan Carpenter
2011-06-21dcb: Add missing error check in dcb_ieee_set()John Fastabend
2011-06-21dcb: fix return type on dcb_setapp()John Fastabend
2011-06-21dcb: Add dcb_ieee_getapp_mask() for drivers to query APP settingsJohn Fastabend
2011-06-21dcb: Add ieee_dcb_delapp() and dcb op to delete app entryJohn Fastabend
2011-06-21dcb: Add ieee_dcb_setapp() to be used for IEEE 802.1Qaz APP dataJohn Fastabend
2011-06-21net: dcbnl, add multicast group for DCBJohn Fastabend
2011-06-21dcb: Add DCBX capabilities bitmask to the get_ieee responseJohn Fastabend
2011-06-09rtnetlink: Compute and store minimum ifinfo dump sizeGreg Rose
2011-03-14net: dcbnl: Update copyright datesMark Rustad
2011-03-03Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller
2011-03-02dcbnl: add support for retrieving peer configuration - ceeShmulik Ravid
2011-03-02dcbnl: add support for retrieving peer configuration - ieeeShmulik Ravid
pan class="o">*sctx = NULL, *cctx = NULL; SSL *sssl = NULL, *cssl = NULL; const char *msg = "Dummy"; BIO *wbio = NULL; int ret = 0, len; char buf[80]; unsigned char dummyrec[] = { 0x17, 0x03, 0x03, 0x00, 0x05, 'D', 'u', 'm', 'm', 'y' }; if (!TEST_true(create_ssl_ctx_pair(TLS_method(), TLS_method(), TLS1_VERSION, 0, &sctx, &cctx, cert, privkey))) goto err; /* * Deliberately set the cipher lists for client and server to be different * to force a handshake failure. */ if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA")) || !TEST_true(SSL_CTX_set_cipher_list(cctx, "AES256-SHA")) || !TEST_true(SSL_CTX_set_ciphersuites(sctx, "TLS_AES_128_GCM_SHA256")) || !TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_256_GCM_SHA384")) || !TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, NULL))) goto err; wbio = SSL_get_wbio(cssl); if (!TEST_ptr(wbio)) { printf("Unexpected NULL bio received\n"); goto err; } /* Connection should fail */ if (!TEST_false(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) goto err; ERR_clear_error(); /* Inject a plaintext record from client to server */ if (!TEST_int_gt(BIO_write(wbio, dummyrec, sizeof(dummyrec)), 0)) goto err; /* SSL_read()/SSL_write should fail because of a previous fatal error */ if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { buf[len] = '\0'; TEST_error("Unexpected success reading data: %s\n", buf); goto err; } if (!TEST_int_le(SSL_write(sssl, msg, strlen(msg)), 0)) goto err; ret = 1; err: SSL_free(sssl); SSL_free(cssl); SSL_CTX_free(sctx); SSL_CTX_free(cctx); return ret; } OPT_TEST_DECLARE_USAGE("certfile privkeyfile\n") int setup_tests(void) { if (!TEST_ptr(cert = test_get_argument(0)) || !TEST_ptr(privkey = test_get_argument(1))) return 0; ADD_TEST(test_fatalerr); return 1; }