{"action":"created","issue":{"url":"https://api.github.com/repos/IRATI/stack/issues/417","repository_url":"https://api.github.com/repos/IRATI/stack","labels_url":"https://api.github.com/repos/IRATI/stack/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/IRATI/stack/issues/417/comments","events_url":"https://api.github.com/repos/IRATI/stack/issues/417/events","html_url":"https://github.com/IRATI/stack/issues/417","id":58364624,"number":417,"title":"shim-eth-vlan cannot post SDUs whose size is less than 42","user":{"login":"kewinrausch","id":8994703,"avatar_url":"https://avatars.githubusercontent.com/u/8994703?v=3","gravatar_id":"","url":"https://api.github.com/users/kewinrausch","html_url":"https://github.com/kewinrausch","followers_url":"https://api.github.com/users/kewinrausch/followers","following_url":"https://api.github.com/users/kewinrausch/following{/other_user}","gists_url":"https://api.github.com/users/kewinrausch/gists{/gist_id}","starred_url":"https://api.github.com/users/kewinrausch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kewinrausch/subscriptions","organizations_url":"https://api.github.com/users/kewinrausch/orgs","repos_url":"https://api.github.com/users/kewinrausch/repos","events_url":"https://api.github.com/users/kewinrausch/events{/privacy}","received_events_url":"https://api.github.com/users/kewinrausch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IRATI/stack/labels/imported","name":"imported","color":"e11d21"},{"url":"https://api.github.com/repos/IRATI/stack/labels/problem","name":"problem","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"miqueltarzan","id":3428055,"avatar_url":"https://avatars.githubusercontent.com/u/3428055?v=3","gravatar_id":"","url":"https://api.github.com/users/miqueltarzan","html_url":"https://github.com/miqueltarzan","followers_url":"https://api.github.com/users/miqueltarzan/followers","following_url":"https://api.github.com/users/miqueltarzan/following{/other_user}","gists_url":"https://api.github.com/users/miqueltarzan/gists{/gist_id}","starred_url":"https://api.github.com/users/miqueltarzan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miqueltarzan/subscriptions","organizations_url":"https://api.github.com/users/miqueltarzan/orgs","repos_url":"https://api.github.com/users/miqueltarzan/repos","events_url":"https://api.github.com/users/miqueltarzan/events{/privacy}","received_events_url":"https://api.github.com/users/miqueltarzan/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-02-20T15:06:06Z","updated_at":"2016-02-10T08:13:21Z","closed_at":"2016-02-09T16:51:18Z","body":"<a href=\"https://github.com/vmaffione\"><img src=\"https://avatars.githubusercontent.com/u/4920001?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [vmaffione](https://github.com/vmaffione)**\n_Friday Nov 07, 2014 at 10:20 GMT_\n_Originally opened as https://github.com/dana-i2cat/irati/issues/414_\n\n----\n\nWhen the Shim-eth-vlan receives an Ethernet frame and builds the corresponding PDU to post to the upper layers, the corresponding SDU to be delivered is always longer than 41 bytes (due to the minimum payload size of an Ethernet packet with a VLAN tag, which is 42 bytes).\n"},"comment":{"url":"https://api.github.com/repos/IRATI/stack/issues/comments/182248067","html_url":"https://github.com/IRATI/stack/issues/417#issuecomment-182248067","issue_url":"https://api.github.com/repos/IRATI/stack/issues/417","id":182248067,"user":{"login":"dstaesse","id":3341175,"avatar_url":"https://avatars.githubusercontent.com/u/3341175?v=3","gravatar_id":"","url":"https://api.github.com/users/dstaesse","html_url":"https://github.com/dstaesse","followers_url":"https://api.github.com/users/dstaesse/followers","following_url":"https://api.github.com/users/dstaesse/following{/other_user}","gists_url":"https://api.github.com/users/dstaesse/gists{/gist_id}","starred_url":"https://api.github.com/users/dstaesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstaesse/subscriptions","organizations_url":"https://api.github.com/users/dstaesse/orgs","repos_url":"https://api.github.com/users/dstaesse/repos","events_url":"https://api.github.com/users/dstaesse/events{/privacy}","received_events_url":"https://api.github.com/users/dstaesse/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T08:13:21Z","updated_at":"2016-02-10T08:13:21Z","body":"Well, the correct function is for N-1 DIFs to advertise the minimum Transmission Unit to the N-DIF. Or will you hardcode the 46 byte mTU in the normal IPCP?\r\nThe other way is to add the padding and strip the padding in the shim itself.\r\nI think the LLC shim doesn't have this issue (it has a length field instead of Ethertype, and thus padding can be added transparently)."}}